Publisher review:gaussian curve fit - [sigma,mu,A]=mygaussfit(x,y) [sigma,mu,A]=mygaussfit(x,y)[sigma,mu,A]=mygaussfit(x,y,h)this function is doing fit to the functiony=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.
gaussian curve fit is a Matlab script for Statistics and Probability scripts design by Yohanan Sivan.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris