ODE4 gives more accurate results than ODE45, ODE23, ODE23s

버전 1.1.0.0 (423 KB) 작성자: John Keevil
Subroutine ode4 is more accurate than ode45, ode23 and ode23s for solving ODE.
다운로드 수: 1.2K
업데이트 날짜: 2016/9/8

라이선스 보기

The attached scripts solve the Two-Body Orbit Vector Ordinary Differential Equation using a MATLAB supported subroutine ode45, ode23 or ode23s and also using a simple unsupported subroutine ode4 (available in the attachment and elsewhere on File Exchange). All these subroutines use the Runge-Kutta algorithm for solving ODE's. The scripts compare the results with the exact analytic solution which is an appropriate ellipse: we can therefore compare the accuracies of the subroutines. We find that the supported subroutines show errors in the range of 0.1 to 0.5%; whereas ode4 shows a peak error of less than 10^-7% i.e. 10^6 times smaller.These results indicate that ode4 should probably be the first Runge-Kutta subroutine to try for solving ODE's. The attached information contains plots of these results and all the necessary scripts to duplicate the results.

인용 양식

John Keevil (2024). ODE4 gives more accurate results than ODE45, ODE23, ODE23s (https://www.mathworks.com/matlabcentral/fileexchange/59044-ode4-gives-more-accurate-results-than-ode45-ode23-ode23s), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Ordinary Differential Equations에 대해 자세히 알아보기
도움

도움 받은 파일: Solving ODEs in MATLAB, Runge Kutta 4th order ode

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Added information to PDF file

1.0.0.0

Clarified the Description wording.