Runge kutta method (Variable Step)?

Hi I need help with the Variable Step Runge Kutta method code

 採用された回答

Torsten
Torsten 2022 年 10 月 13 日
編集済み: Torsten 2022 年 10 月 13 日

0 投票

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 件のコメント

Torsten
Torsten 2022 年 10 月 13 日
編集済み: Torsten 2022 年 10 月 13 日
Then come back when you have a specific question about the code you've written so far.
MT
MT 2022 年 10 月 13 日
I want make the error estimate by combining two Runge-Kutta methods of different order
Torsten
Torsten 2022 年 10 月 13 日
編集済み: Torsten 2022 年 10 月 13 日
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 2022 年 10 月 13 日
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

タグ

質問済み:

MT
2022 年 10 月 13 日

編集済み:

2022 年 10 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by