Diffrence between cubic spline (csaps) and smoothing spline in curve fitting toolbox

1 回表示 (過去 30 日間)
Sarvesh Kumar
Sarvesh Kumar 2018 年 8 月 26 日
回答済み: John D'Errico 2018 年 8 月 27 日
Hi
I am trying to figure out what is the difference between (if any) the cubic spline (csaps command) and the smoothing spline offered by Curve Fitting Tool in matlab. I looked at some of the places where the info is provided on the two but i couldn't find any place where a differentiation is made. Is there any difference between the 2?

回答 (1 件)

John D'Errico
John D'Errico 2018 年 8 月 27 日
If you read the docs somewhere below fittype, you will find this comment:
Note
The smoothing spline algorithm is based on the csaps function.
I won't say it was trivial to find. :)
So the two results should be the same.

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by