gaussian curve fit

gaussian curve fit

Ahora está siguiendo esta publicación

[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.

Citar como

Yohanan Sivan (2026). gaussian curve fit (https://es.mathworks.com/matlabcentral/fileexchange/11733-gaussian-curve-fit), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: Fit 1D and 2D gaussian to noisy data, Slant Edge Script

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0