B-spline Interpolation

bspline(vx, vy, u, n) Returns a vector, used by interp, of nested arrays containing the coefficients of a B-spline of degree n for the data in vx and vy, given the knot values in u. The vector returned becomes the first argument of the interp function.

interp(vs, vx, vy, x) Returns a B-spline interpolated y value corresponding to x using the output vector vs from bspline.

Arguments:

Notes:

Related Topics