Question: what is spapi in matlab?
Answer: spline = spapi( knots , x , y ) returns the spline f (if any) of order. k = length(knots) - length(x) with knot sequence knots for which. (*) f(x(j)) = y(:,j), all j.