Please explain Matlab's naming convention for odepq
조회 수: 2 (최근 30일)
이전 댓글 표시
There are ODE solvers built into Matlab, all named in the form of odepq.
I understand p is the order. For Euler's method it is order 1, Heun's and Midpoint are order 2, while Runge-kutta is order 4. What is the q here?
댓글 수: 0
채택된 답변
Walter Roberson
2021년 1월 22일
편집: Walter Roberson
2021년 1월 22일
p is the order of the calculation used to predict the solution, and q is the order of the calculation used for the error estimate.
Exception:
"ode113 is a variable-step, variable-order (VSVO) Adams-Bashforth-Moulton PECE solver of orders 1 to 13. The highest order used appears to be 12, however, a formula of order 13 is used to form the error estimate and the function does local extrapolation to advance the integration at order 13."
댓글 수: 4
Steven Lord
2021년 1월 22일
FYI Cleve Moler offers a bit more of the details behind the solvers in section 7.12 (the chapter titled "Ordinary Differential Equations") of his textbook "Numerical Computing with MATLAB" that is available here.
추가 답변 (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!