Extrapolation order
Extrapolation order for ode14x
fixed-step solver
Model Configuration Pane: Solver
Description
The ode14x
solver uses extrapolation to compute the model states for the next time step using the states in the current time step. Use this parameter to specify the order of extrapolation.
Dependencies
To enable this parameter when the solver Type is
Fixed-step
, from the Solver list,
select ode14x (extrapolation)
.
To enable this parameter when the solver Type is
Variable-step
:
For the Solver parameter, select
odeN (Nonadaptive)
.For the Integration method parameter, select
ode14x (extrapolation)
.
Settings
4
(default) | 3
| 2
| 1
Higher-order extrapolation is more accurate but also more computationally intensive. The number you select corresponds to the order of extrapolation used. For example, selecting 3
specifies third-order extrapolation.
Recommended Settings
The table summarizes recommended values for this parameter based on considerations related to code generation.
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: ExtrapolationOrder |
Type: scalar number |
Value: 1 | 2 | 3 | 4 |
Default: 4 |
Version History
Introduced before R2006a