Ode45 step size evaluation procedure
Mostrar comentarios más antiguos
Hello,
I've been trying to work out how the ode45 command in matlab evaluates whether the step size is appropriate. I was under the impression that solutions were calculated at the 4th and 5th orders using the rkf45 method and then compared to see if the error is within acceptable, pre-specified, bounds. If the error is greater, the step size is reduced and vice versa.
Is this true or is another method followed?
2 comentarios
James Tursa
el 13 de Mayo de 2020
I don't know if the details of this are published anywhere, but my assumption would be the similar to yours ... that the 5th order estimated error terms are generated and compared to the 4th order, etc.
Ameer Hamza
el 13 de Mayo de 2020
The documentation page reference these papers for the algorithm. Going through them might be helpful:
Respuestas (0)
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!