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 Kommentare

James Tursa
James Tursa am 13 Mai 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 am 13 Mai 2020

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2020a

Gefragt:

am 13 Mai 2020

Kommentiert:

am 13 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by