curve fitting: how to get the fitting curve?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everyone~
I did some curve fitting using curve fitting toolbox. But I don't know how to get the fitting curve. Can somebody help?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153521/image.png)
Also, in the future I want to do this using code. I'm reading the manual for spline fitting. http://www.mathworks.com/help/curvefit/construction.html
There seems to be lots of kinds of it. I want it shape-conserve, and must pass all the points. Which one should I use?
Any help is appreciated. Thank you!
0 Commenti
Risposte (1)
John D'Errico
il 6 Dic 2013
Modificato: John D'Errico
il 6 Dic 2013
Use pchip to create a shape preserving spline. ppval can evaluate it.
2 Commenti
Vedere anche
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!