Prev: How to convert cell array to double array
Next: Simulations: Rate equations of Multiple quantum well laser
From: srisudheer boppana on 6 Jul 2010 11:05 hello, While iam doing a problem in matalb7 when iam using it i got an error like Failure at t=-9.955743e-001. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.776357e-015) at time t. How to remove this error is there any options to me made to be changed.I saw in your newsletters that to go to simulation option and there to reduce the step size.I searched but not find any options can u please give me a detail how to avoid this error.Please reply to this mail as soon as possible it is very urgent to me.
From: Faraz Afzal on 6 Jul 2010 11:36 "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message <i0vgnh$j9e$1(a)fred.mathworks.com>... > hello, > While iam doing a problem in matalb7 when iam using it i got an error like > > Failure at t=-9.955743e-001. Unable to meet integration tolerances without > reducing the step size below the smallest value allowed (1.776357e-015) at time t. > > How to remove this error is there any options to me made to be changed.I saw in your newsletters that to go to simulation option and there to reduce the step size.I searched but not find any options can u please give me a detail how to avoid this error.Please reply to this mail as soon as possible it is very urgent to me. Dear Sudheer, What are you getting this error with, is that ODE solver or what... Is that in SImulink or what?? check for doc odeset as in your case it seems to be the right choice. Regards, Faraz
From: srisudheer boppana on 6 Jul 2010 14:02 "Faraz Afzal" <farazafzal(a)gmail.com> wrote in message <i0vih5$jqq$1(a)fred.mathworks.com>... > "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message <i0vgnh$j9e$1(a)fred.mathworks.com>... > > hello, > > While iam doing a problem in matalb7 when iam using it i got an error like > > > > Failure at t=-9.955743e-001. Unable to meet integration tolerances without > > reducing the step size below the smallest value allowed (1.776357e-015) at time t. > > > > How to remove this error is there any options to me made to be changed.I saw in your newsletters that to go to simulation option and there to reduce the step size.I searched but not find any options can u please give me a detail how to avoid this error.Please reply to this mail as soon as possible it is very urgent to me. > > Dear Sudheer, > > What are you getting this error with, is that ODE solver or what... Is that in SImulink or what?? > > check for > doc odeset as in your case it seems to be the right choice. > > Regards, > Faraz Dear Faraz, This error is coming while iam using this steps if u see this steps means u can get an idea. tspan = [0,8]; >> s0 = [0,0,-1]; >> [T,S] = ode45('chirp3',tspan,s0); Warning: Failure at t=2.146018e+000. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (7.105427e-015) at time t. > In ode45 at 371 iam getting an error as above.Pls tell how to remove this error. sudheer
From: Steven Lord on 6 Jul 2010 15:17 "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message news:i0vr2v$ge4$1(a)fred.mathworks.com... > "Faraz Afzal" <farazafzal(a)gmail.com> wrote in message > <i0vih5$jqq$1(a)fred.mathworks.com>... >> "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message >> <i0vgnh$j9e$1(a)fred.mathworks.com>... *snip* > Dear Faraz, > This error is coming while iam using this steps if u see this steps means > u can get an idea. > > tspan = [0,8]; >>> s0 = [0,0,-1]; >>> [T,S] = ode45('chirp3',tspan,s0); > Warning: Failure at t=2.146018e+000. Unable to meet integration > tolerances without reducing > the step size below the smallest value allowed (7.105427e-015) at time t. >> In ode45 at 371 > > iam getting an error as above.Pls tell how to remove this error. Try a stiffer solver (look at the table in DOC ODE45 for a list of which solvers are stiff and which are not) or reduce your tolerances using ODESET. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: srisudheer boppana on 6 Jul 2010 15:55
"Steven Lord" <slord(a)mathworks.com> wrote in message <i0vvgq$8nq$1(a)fred.mathworks.com>... > > "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message > news:i0vr2v$ge4$1(a)fred.mathworks.com... > > "Faraz Afzal" <farazafzal(a)gmail.com> wrote in message > > <i0vih5$jqq$1(a)fred.mathworks.com>... > >> "srisudheer boppana" <sudheer8989(a)gmail.com> wrote in message > >> <i0vgnh$j9e$1(a)fred.mathworks.com>... > > *snip* > > > Dear Faraz, > > This error is coming while iam using this steps if u see this steps means > > u can get an idea. > > > > tspan = [0,8]; > >>> s0 = [0,0,-1]; > >>> [T,S] = ode45('chirp3',tspan,s0); > > Warning: Failure at t=2.146018e+000. Unable to meet integration > > tolerances without reducing > > the step size below the smallest value allowed (7.105427e-015) at time t. > >> In ode45 at 371 > > > > iam getting an error as above.Pls tell how to remove this error. > > Try a stiffer solver (look at the table in DOC ODE45 for a list of which > solvers are stiff and which are not) or reduce your tolerances using ODESET. > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > To contact Technical Support use the Contact Us link on > http://www.mathworks.com > Hai Steve Lord, As u said i tried with all ode function files like ode23,ode113,ode23,ode23t,ode23ft but then also error is giving but can u tell how to reduce this tolerances using ODEST iam not understanding it. sudheer |