Spline Toolbox™ Previous page   Next Page 
aveknt
 Provide feedback about this page

Provide knot averages

Syntax

Description

tstar = aveknt(t,k) returns the averages of successive k-1 knots, i.e., the sites

which are recommended as good interpolation site choices when interpolating from splines of order k with knot sequence .

Examples

aveknt([1 2 3 3 3],3) returns the vector [2.5000 3.0000], while aveknt([1 2 3],3) returns the empty vector.

With k and the strictly increasing sequence breaks given, the statements

provide a spline interpolant to the sine function on the interval [breaks(1)..breaks(end)].

For sp the B-form of a scalar-valued univariate spline function, and with tstar and a computed as

the points constitute the control points of the spline, i.e., the vertices of the spline's control polygon.

See Also

aptknt, chbpnt, optknt


 Provide feedback about this page 

Previous page augknt bkbrk Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS