Order of numerical differentiation formulas used for
Model Configuration Pane: Solver
Specify the order of the numerical differentiation formulas (NDFs) used for the
To enable this parameter:
Set the solver Type to
Set the Solver parameter to
The number you select specifies the order of the NDFs used by the
ode15s solver. For example, when you select
ode15s solver uses third order NDFs.
Using higher order NDFs produces a more accurate result, but the solver is less stable.
For stiff systems that require more stability, reduce the maximum order to
2, which is the highest order for which the NDFs are A-stable. Alternatively, try the
ode23s solver, which is a lower order and A-stable solver.
The table summarizes recommended values for this parameter based on considerations related to code generation.
|Safety precaution||No impact|
Introduced before R2006a