Ode45 step size evaluation procedure
古いコメントを表示
Hello,
I've been trying to work out how the ode45 command in matlab evaluates whether the step size is appropriate. I was under the impression that solutions were calculated at the 4th and 5th orders using the rkf45 method and then compared to see if the error is within acceptable, pre-specified, bounds. If the error is greater, the step size is reduced and vice versa.
Is this true or is another method followed?
2 件のコメント
James Tursa
2020 年 5 月 13 日
I don't know if the details of this are published anywhere, but my assumption would be the similar to yours ... that the 5th order estimated error terms are generated and compared to the 4th order, etc.
Ameer Hamza
2020 年 5 月 13 日
The documentation page reference these papers for the algorithm. Going through them might be helpful:
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!