Gaussian fitting with a bias
조회 수: 1 (최근 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개)
the cyclist
2011년 7월 29일
You can define your own function using the nlinfit() function in the Statistics Toolbox.
댓글 수: 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!