FUNCTION REFERENCE
spmak
Put together a spline in B-form.
Put together a spline in B-form.
Syntax
sp = spmak(knots, coefs)coefs is a vector (one component) or a d-by-n matrix; the order is numel(knots) - n. Knots must be nondecreasing with multiplicity at most the order. The result has fields form ('B-'), knots, coefs, number, order and dim.
Example
sp = spmak([0 0 1 2 2], [1 3 2]); sp.order % 2Differences from MATLAB: multivariate (cell knots) and sizec are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.