Convergence Criteria and ODE solvers

10 ビュー (過去 30 日間)
Hooman
Hooman 2015 年 8 月 21 日
回答済み: Rishav 2025 年 1 月 17 日
Hi, Could someone please tell me what the convergence criteria is in ode solvers in Matlab? Thanks!

回答 (1 件)

Rishav
Rishav 2025 年 1 月 17 日
Hi Hooman,
I know it has been long since you asked this question, but you can refer to the following convergence criteria in ODE solvers in MATLAB:
  1. Adaptive step size: Based on the estimated error, the solver dynamically adjusts the step size to maintain the desired tolerance level, taking smaller steps when the solution is rapidly changing and larger steps when the solution is smoother.
  2. Tolerance parameters: RelTol and AbsTol
RelTol - defines the maximum relative error allowed in the solution at each step, meaning the error is compared to the magnitude of the solution itself.
AbsTol - defines the maximum absolute error allowed, useful for ensuring a minimum level of accuracy even when the solution is very small.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by