Runge kutta method (Variable Step)?

12 vues (au cours des 30 derniers jours)
MT
MT le 13 Oct 2022
Modifié(e) : Torsten le 13 Oct 2022
Hi I need help with the Variable Step Runge Kutta method code

Réponse acceptée

Torsten
Torsten le 13 Oct 2022
Modifié(e) : Torsten le 13 Oct 2022
I don't know about the correctness of the code, but it claims to use adaptive time stepping:
Do you want to make the error estimate by combining two Runge-Kutta methods of different order or use one Runge-Kutta method with different step size ?
  4 commentaires
Torsten
Torsten le 13 Oct 2022
Modifié(e) : Torsten le 13 Oct 2022
Then make a copy of ODE45 and name it my_code.m.
It's a 4-5 Runge-Kutta code where the error estimate is done by the combination of two Runge-Kutta methods of different order.
MT
MT le 13 Oct 2022
Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by