Runge kutta method (Variable Step)?

 Respuesta aceptada

Torsten
Torsten el 13 de Oct. de 2022
Editada: Torsten el 13 de Oct. de 2022

0 votos

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 comentarios

Torsten
Torsten el 13 de Oct. de 2022
Editada: Torsten el 13 de Oct. de 2022
Then come back when you have a specific question about the code you've written so far.
MT
MT el 13 de Oct. de 2022
I want make the error estimate by combining two Runge-Kutta methods of different order
Torsten
Torsten el 13 de Oct. de 2022
Editada: Torsten el 13 de Oct. de 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 el 13 de Oct. de 2022
Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

MT
el 13 de Oct. de 2022

Editada:

el 13 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by