[sigma,mu,A]=mygaussfit(x,y)
[sigma,mu,A]=mygaussfit(x,y,h)
this function is doing fit to the function
y=A * exp( -(x-mu)^2 / (2*sigma^2) )
the fitting is been done by a polyfit
the lan of the data.
h is the threshold which is the fraction
from the maximum y height that the data
is been taken from.
h should be a number between 0-1.
if h have not been taken it is set to be 0.2
as default.
인용 양식
Yohanan Sivan (2024). gaussian curve fit (https://www.mathworks.com/matlabcentral/fileexchange/11733-gaussian-curve-fit), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- AI, Data Science, and Statistics > Curve Fitting Toolbox > Linear and Nonlinear Regression >
- Mathematics and Optimization > Optimization Toolbox > Least Squares >
Help Center 및 MATLAB Answers에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |