matrix

returns the basis splines of order K evaluated at point t, given knot points tKnot.


Declaration

 B = matrix( t, tKnot, K, options )

Parameters

  • t points at which to evaluate the splines
  • tKnot spline knot points
  • K spline order (degree S=K-1)
  • D (optional) number of spline derivatives to return, max(D)=K-1

Returns

  • B [length(t) M D] where M=length(tKnot)-K

Discussion

Returns the basis splines of order K evaluated at point t, given knot points tKnot. If you optionally provide D, then D derivatives will be returned.