danago
Sep18-09, 09:45 AM
Hey.
As part of an assignment, i need to fit a piecewise polynomial to three data points using a cubic spline.
Ive pretty much done the work, but wanted to check it using matlab. Now i know matlab has a 'spline' function, however i am having trouble using it. What i need to do is specify that the two boundary points of the spline must have a zero second derivative. How can i do this?
Thanks in advance,
Dan.
As part of an assignment, i need to fit a piecewise polynomial to three data points using a cubic spline.
Ive pretty much done the work, but wanted to check it using matlab. Now i know matlab has a 'spline' function, however i am having trouble using it. What i need to do is specify that the two boundary points of the spline must have a zero second derivative. How can i do this?
Thanks in advance,
Dan.