Gaussian fit

Fits Gaussian curve into points. The curve is understood as a probability density function, pdf.
8.1K Downloads
Updated 23 Feb 2012

View License

The function fits Guassian probability density function into a set of points. Standard deviation and mean are returned.

Cite As

Przemyslaw Baranski (2026). Gaussian fit (https://www.mathworks.com/matlabcentral/fileexchange/35122-gaussian-fit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers
Version Published Release Notes
1.5.0.0

Checking if the input points (x,y) are sorted. If not sort them. Improved checking if p.d.f sums up to 1

1.4.0.0

Normalization of data. Added some infos to the helpd section

1.1.0.0

More description, so that it can perhaps be easier found

1.0.0.0