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!