Gaussian fitting with a bias
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
the cyclist
el 29 de Jul. de 2011
You can define your own function using the nlinfit() function in the Statistics Toolbox.
0 comentarios
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!