getting error during solving nonlinear differential equation by using ode45 solver

  • Follow


while solving some nonlinear differential equation in matlab by using ode45 solver i got following warning
Warning: Failure at t=5.000000e+001.  Unable to meet integration tolerances without reducing the step size below the smallest
value allowed (1.136868e-013) at time t. 
> In ode45 at 371
after changing the tolerance things are not working and i got stuck in this.
can some one try to find out the way to get rid of it

thanks in advance....
0
Reply sandeep 2/18/2011 5:36:04 PM


"sandeep shrivastava" <sandeepj4044@rediffmail.com> wrote in message 
news:ijmam4$9ta$1@fred.mathworks.com...
> while solving some nonlinear differential equation in matlab by using 
> ode45 solver i got following warning
> Warning: Failure at t=5.000000e+001.  Unable to meet integration 
> tolerances without reducing the step size below the smallest
> value allowed (1.136868e-013) at time t.
>> In ode45 at 371
> after changing the tolerance things are not working and i got stuck in 
> this.
> can some one try to find out the way to get rid of it

Try a stiffer solver.

http://www.mathworks.com/company/newsletters/news_notes/clevescorner/may03_cleve.html

The reference page (DOC ODE45) gives a table indicating which of the ODE 
solvers are better at solving stiff problems and which are not.

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
Reply Steven_Lord 2/18/2011 7:07:44 PM


1 Replies
453 Views

(page loaded in 0.048 seconds)

Similiar Articles:













7/26/2012 11:13:52 PM


Reply: