how to fix the follwoing error?

1 view (last 30 days)
Mineeja Komath
Mineeja Komath on 22 Apr 2015
Commented: Mineeja Komath on 22 Apr 2015
while solving a particular non-linear problem using ODE 45, the following message is obtaing for some values of control parameters, for others the program is working properly. How to fix this error?
Warning: Failure at t=2.215676e+01. Unable to meet the integration tolerance without reducing the step size below the smaalest value allowed(5.684342e-14) at time t.
In ODE 45 at 308.

Answers (1)

Torsten
Torsten on 22 Apr 2015
The error message can have many reasons: singularity of the solution, stiffness of the ODE system, too high or low values for the tolerances (RelTol ans AbsTol) or a simple programming error on your side.
We will have to see your MATLAB coding to give more specific advice.
Best wishes
Torsten.
  1 Comment
Mineeja Komath
Mineeja Komath on 22 Apr 2015
since it is related to my unpublished work I can't reveal the program, if you guarantee secrecy will send to your email,(if email Id is given)

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!