Spline Toolbox | ![]() ![]() |
Display a B-spline and its polynomial pieces
Syntax
bspline(t) bspline(t,window) pp = bspline(t)
Description
bspline(t)
plots B(·|t
), i.e., the B-spline with knot sequence t
, as well as the polynomial pieces of which it is composed.
If the second argument, window
, is present, the plotting is done in the subplot window specified by window
; see the MATLAB command subplot
for details.
If there is an output argument, then nothing is plotted, and the ppform of the B-spline is returned instead.
Examples
The statement pp=fn2fm(spmak(t,1),'pp')
has the same effect as the statement pp=bspline(t)
.
See the demo bsplidem
for typical uses of this command.
See Also
bsplidem
, bspligui
![]() | bspligui | chbpnt | ![]() |