Can I do a curve fit tool in a for loop?
6 views (last 30 days)
Show older comments
How can I get the a1,b1,c1 variables from the curve fit tool box for the gaussian func?
Accepted Answer
Ayush Gupta
on 11 Sep 2020
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!