Clear Filters
Clear Filters

ode45 : order, number of prediction and step time (theory)

2 views (last 30 days)
Hi world !
i want to understand the notation in matlab and the ode algorithms.
ODE45 means a classical method of Runge Kutta which an order of 4 for 5 predictions ?
how the step time is chosen by matlab ?
thanks for your answers :)

Accepted Answer

Jan
Jan on 29 Apr 2012
ODE45 is a Runge-Kutta single step solver using the pair of order 4 and 5 solvers as communicated by Dormand and Prince. The parameters for the order 4 and 5 are chosen such, that the a minimum number of function evaluations is required.
The local discretization error is measured by the difference between the order 4 and 5 solutions. The time steps are chosen such, that this difference is smaller than the given relative and absolute tolerances.
You can find all details by reading the code of ODE45, especially the references will be helpful.

More Answers (1)

21did21
21did21 on 29 Apr 2012
thanks !

Tags

Community Treasure Hunt

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

Start Hunting!