Unable to meet integration tolerances without reducing the step size below t
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
jixie zhuangbei
le 13 Avr 2015
Commenté : jixie zhuangbei
le 14 Avr 2015
Warning: Failure at t=5.422028e-006. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.355253e-020) at time t. > In ode45 at 355 In ODE45_main at 4 Warning: Function call Xlabel invokes inexact match D:\MATLAB7\toolbox\matlab\graph2d\xlabel.m.
> In ODE45_main at 15 Warning: Function call Ylabel invokes inexact match D:\MATLAB7\toolbox\matlab\graph2d\ylabel.m.
> In ODE45_main at 15 The element type "name" must be terminated by the matching end-tag "</name>". Could not parse the file: d:\matlab7\toolbox\ccslink\ccslink\info.xml >>
【 Failure at t=5.422028e-006. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.355253e-020) at time t.】
Can we reset the value of the integration tolerances or the smallest value allowed?
For example, the smallest value allowed can be increasd? The step size can be decreased?
If it is feasible, how can I reset it?
Would you give me a example?
1 commentaire
Torsten
le 13 Avr 2015
You will have to show us your MATLAB code in order to find possible reasons for the error message.
Best wishes
Torsten.
Réponse acceptée
Thomas Koelen
le 13 Avr 2015
Often that warning means that your system of ODEs is stiff. See section 7.9 of the ODE chapter of Cleve's "Numerical Computations with MATLAB" for more information about stiffness:
Try a stiffer solver, like ODE15S or ODE23S.
Plus de 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!