Center and scale a fit

26 ビュー (過去 30 日間)
Angela
Angela 2018 年 5 月 30 日
コメント済み: Angela 2018 年 5 月 31 日
I want to use the 'fit' command to model a dataset with a two term Gaussian model. I found an example about how to center and scale polyfit: [p,S,mu] = polyfit(x,y,n) but i have not been able to find an example how to center and scale the 'fit' command and then use the feval command to see the fit y values. Does anyone know how to do it?

採用された回答

dpb
dpb 2018 年 5 月 31 日
There's a 'Normalize','off'|'on' Name-Value Pair Argument in the fitOptions Link fitOptions
  1 件のコメント
Angela
Angela 2018 年 5 月 31 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by