curve fitting: how to get the fitting curve?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
John D'Errico
am 6 Dez. 2013
Bearbeitet: John D'Errico
am 6 Dez. 2013
Use pchip to create a shape preserving spline. ppval can evaluate it.
2 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!