ODE45 exact algorithm
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, iam trying to implemet ode45 algorithm. There is a good algorithm in a book named "Numerical analysis with matlab". I implemented the code and it gives me the same results as ode45 but the length of my solution at my algorithm and ode45 is differente also ode45 changes it step much more rapidly than in my algorithm and it seems to be more efficient . I changeg the tollerance, hmin and hmax
I am sure that the difference is in error corection. I have opened ode45 matlab code and i cant understand exactly how they adapt step size at every step.
I also opend matlab referanced at ode45 mathwork.
Can any body tell me how ode45 change h.
The algorithm I implemented is in attached files, maybe someone will find it usefull...
Thanks allot.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!