curve fitting: how to get the fitting curve?
1 回表示 (過去 30 日間)
古いコメントを表示
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?
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 件のコメント
回答 (1 件)
John D'Errico
2013 年 12 月 6 日
編集済み: John D'Errico
2013 年 12 月 6 日
Use pchip to create a shape preserving spline. ppval can evaluate it.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!