Effacer les filtres
Effacer les filtres

Gaussian fitting with a bias

1 vue (au cours des 30 derniers jours)
Junwei
Junwei le 29 Juil 2011
I want to fit a gaussian shape with a bias. Matlab has a type gauss1 = a1*exp(-((x-b1)/c1)^2), but how to fit the data with gauss1 = a1*exp(-((x-b1)/c1)^2)+ w0, where w0 is a bias.
Thanks.

Réponses (1)

the cyclist
the cyclist le 29 Juil 2011
You can define your own function using the nlinfit() function in the Statistics Toolbox.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by