Can I do a curve fit tool in a for loop?
조회 수: 5 (최근 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!