Main Content

Extrapolation order

Extrapolation order for ode14x fixed-step solver

Model Configuration Pane: Solver

Description

The Extrapolation order parameter specifies the order of extrapolation the ode14x fixed-step solver uses to compute state values.

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.

Programmatic Use

Parameter: ExtrapolationOrder
Type: scalar number
Value: 1 | 2 | 3 | 4
Default: 4

Version History

Introduced before R2006a