채택된 답변

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