Center and scale a fit

23 visualizzazioni (ultimi 30 giorni)
Angela
Angela il 30 Mag 2018
Commentato: Angela il 31 Mag 2018
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?

Risposta accettata

dpb
dpb il 31 Mag 2018
There's a 'Normalize','off'|'on' Name-Value Pair Argument in the fitOptions Link fitOptions

Più risposte (0)

Categorie

Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by