You can define your own function using the nlinfit() function in the Statistics Toolbox.
Gaussian fitting with a bias
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!