Fitting data to a constant multiplied by a reference spline

1 回表示 (過去 30 日間)
Michael Bishop
Michael Bishop 2015 年 4 月 24 日
I have a data that I need to fit to a spline function multiplied by some constant.
I fit a reference function (spline) using: refSpline=fit(xData,referenceData,'smoothingspline');
Now, I would like to use refSpline multiplied by some weighting factor (c) to fit a data set of the same dimensions. The function is not parametric (as far as I understand it), so can this curve even be used for fitting? I could use refSpline to output a Y vector, and do a chi-squared optimization, but I would like to avoid that, as I have no experience with writing such optimizations. Any help is appreciated.
Best, Michael

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpline Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by