Can I do a curve fit tool in a for loop?
3 次查看(过去 30 天)
显示 更早的评论
How can I get the a1,b1,c1 variables from the curve fit tool box for the gaussian func?
采纳的回答
Ayush Gupta
2020-9-11
The model coefficients for a Gaussian fit can be found out directly from the model. Refer to the following code on how to get the coefficients:
f = fit(x,y,'gauss2')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!