Center and scale a fit

31 次查看(过去 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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by