how to reconstruct piecewise polynomial splines?
2 views (last 30 days)
Show older comments
I am trying to reconstruct and evaluate multivariate pp splines that are made in MATLAB in C, using coefficients that are provided when I built them in MATLAB. However, I could not understand what is the form of these multivariate polynomial, and how can assign the coefficients in different intervals. Can you tell me how to reconstruct these multivariate PPs, or what is their form?
2 Comments
Answers (1)
Sreeja Banerjee
on 9 Jun 2015
Hi Behnam,
At the end of the documentation page for function SPAPI and FN2FM, you can see that there is a "More About" section which talks about the algorithms the functions use.
- SPAPI: http://www.mathworks.com/help/curvefit/spapi.html
- FN2FM: http://www.mathworks.com/help/curvefit/fn2fm.html
You can also use the following commands at the MATLAB command line to look at the implementation of the algorithms:
>> edit spapi
>> edit fn2fm
See Also
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!