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.