How can I extract and store the spline fitting curve function on my data?
Afficher commentaires plus anciens
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
Réponses (1)
Shashank Prasanna
le 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:
Catégories
En savoir plus sur Splines dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!