How does ode45 choose the time step?

1 view (last 30 days)
Kevin Bachovchin
Kevin Bachovchin on 22 May 2014
Hello,
I know that ode45 uses a variable step Runge-Kutta procedure. I've read that ode45 chooses the time step in order to satisfy that the estimated error at any step should be less than a predetermined amount, specified by the time step. How does ode45 calculate this estimated error? Then how does ode45 use this estimated error to calculate the time step?
Thank you, Kevin

Answers (0)

Community Treasure Hunt

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

Start Hunting!