Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Extrapolate spline

`g = fnxtr(f,order)`

`g = fnxtr(f)`

returns a spline of order `g`

= fnxtr(`f`

,`order`

)`order`

that extrapolates the spline
`f`

. `g`

equals `f`

on its basic
interval, but `g`

is a polynomial of the given order outside that
interval. `g`

satisfies at least `order`

smoothness
conditions at the ends of the basic interval of `f`

, that is, at the new
breaks. It is most useful to use a positive value of `order`

that is
smaller than the order of `f`

.

uses an
extrapolation order equal to 2. It is equivalent to `g`

= fnxtr(`f`

)`fnxtr(f,2)`

.