Gaussian fit

Fits Gaussian curve into points. The curve is understood as a probability density function, pdf.


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 (2023). Gaussian fit (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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

Normalization of data. Added some infos to the helpd section

More description, so that it can perhaps be easier found