Csapi Coefficients in a n-dimensional spline

1 view (last 30 days)
I am trying to understand the coefficients of a spline.
Basically based on the coefficients.
Given something like
form: 'pp'
breaks: {[1 2] [1 2]}
coefs: [1x2x2 double]
pieces: [1 1]
order: [2 2]
dim: 1
I understand the order, pieces, however. How to interpret the coefficients. Take one piece equation to be: (x,y)
z(1piece) = c1*(x-1)*(y-1)^3+c2*(x-1)*(y-1)^2+c3*(x-1)*(y-1)+c4*(x-1)+c5*(y-1)^3+c6*(y-1)^2+c7*(y-1)+c8;
How do I map the c1 to the coefs? Would it be possible to have a table that can be visualized?
[Merged information from additional question]
Anyone knows how csapi manages its coefficients for 2 or 3 dimensions.

Answers (1)

Wolfgang
Wolfgang on 28 Jun 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!