ode45 integration tolerances
1 view (last 30 days)
Show older comments
I am getting a warning 'Warning: Failure at t=5.672199e-11. Unable to meet integration tolerances without reducing the step size below the smallest value allowed
(1.033976e-25) at time t.
> In ode45 (line 360) '
As a result of this warning message I am getting my graph missing. the last part of my graphic is missing. How can I fix this problem. Here I am adding the related part of my code.
options = odeset('RelTol',1e-1,'AbsTol',1e-10);
[tt,N]=ode45('Fd3gainsw',tt,NNo,options);
tt=3000x1 double
NNo=5x1
2 Comments
Ameer Hamza
on 9 Sep 2020
This is likely caused by a singularity in the ODEs. Can you show the equations?
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!