Ode45 step size evaluation procedure

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
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
Ameer Hamza el 13 de Mayo de 2020

Iniciar sesión para comentar.

Respuestas (0)

Productos

Versión

R2020a

Etiquetas

Preguntada:

el 13 de Mayo de 2020

Comentada:

el 13 de Mayo de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by