Error tolerance in ODE45
49 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Buttercup12
am 10 Feb. 2022
Kommentiert: Steven Lord
am 11 Feb. 2022
What's the role of the error tolerance in ode45? What does it do?
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 10 Feb. 2022
Are you referring to the options in the Error Control option group in the table on this documentation page? If you click on the name of the option you will be taken to the section of the odeset documentation page discussing that option. After reading the sections on RelTol, AbsTol, and NormControl do you have a specific question about one or all of those options?
You might also find pages 11-13 of the paper "The MATLAB ODE Suite" included in the PDF documentation and the chapter on ODEs in Cleve Moler's Numerical Computing with MATLAB informative.
2 Kommentare
Steven Lord
am 11 Feb. 2022
Yes. ode45 uses an adaptive Runge-Kutta method. If the estimated error is not below tolerance the ODE solver will adapt by rejecting the step it just tried and trying a smaller step.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!