Updated 23 Feb 2012
The function fits Guassian probability density function into a set of points. Standard deviation and mean are returned.
Przemyslaw Baranski (2023). Gaussian fit (https://www.mathworks.com/matlabcentral/fileexchange/35122-gaussian-fit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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