How can I extract and store the spline fitting curve function on my data?
Show older comments
Hi there,
I want to see, extract and store the equations of the spline fitting curve function which is produced based on my data.
Do you know how to do that?
Thank you so much.
Smiles, Mo
Answers (1)
Shashank Prasanna
on 14 Jan 2013
0 votes
If you created the spline as follows pp = spline(x,y); >> pp.coefs will give you the coefficients for each of the piece wise equations in the spline. Alternatively you can also use unmkpp:
Categories
Find more on Interpolation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!