PDA

View Full Version : Cubic Spline Coefficents


danago
Sep29-09, 10:48 AM
>> spline(theta, R)

ans =

form: 'pp'
breaks: [0.5000 1]
coefs: [-1.9538 1.1125 0.8415]
pieces: 1
order: 3
dim: 1

theta and R are of equal size and contain the points i want to fit to a spline.

What really has me perplexed is the coefficients that are produced. How do i interpret these coefficients; I originally assumed that they were the coefficients of a polynomial in standard form, however after plugging in my original values to check i have found that this is clearly not the case.

Any help? :smile:

Thanks in advance.
Dan.