ode45 integration tolerances
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Ameer Hamza
2020-9-9
This is likely caused by a singularity in the ODEs. Can you show the equations?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!