Spline Toolbox    
spcrv

Spline curve by uniform subdivision

Syntax

Description

spcrv(c,k) provides a dense sequence of points on the uniform B-spline curve of order k with B-spline coefficients c. Explicitly, this is the curve

with the B-spline with knots , and n the number of coefficients in c, i.e., [d,n] equals size(c).

spcrv(c) chooses the order k to be 4.

spcrv(c,k,maxpnt) makes sure that at least maxpnt points are generated. The default value for the maximum number of sites tt to be generated is 100.

The parameter interval that the site sequence tt fills out uniformly is the interval [k/2 .. (n-k/2)].

The output consists of the array .

Examples

The following would show a questionable broken line and its smoothed version:

Algorithm

Repeated midpoint knot insertion is used until there are at least maxpnt sites. There are situations where use of fnplt would be more efficient.

See Also

fnplt, spcrvdem


  spcol splinetool