ode45 integration tolerances
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Ameer Hamza
le 9 Sep 2020
This is likely caused by a singularity in the ODEs. Can you show the equations?
Réponses (0)
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!