Effacer les filtres
Effacer les filtres

Center and scale a fit

31 vues (au cours des 30 derniers jours)
Angela
Angela le 30 Mai 2018
Commenté : Angela le 31 Mai 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?

Réponse acceptée

dpb
dpb le 31 Mai 2018
There's a 'Normalize','off'|'on' Name-Value Pair Argument in the fitOptions Link fitOptions
  1 commentaire
Angela
Angela le 31 Mai 2018
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by