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!