Gaussian fit
                    Version 1.5.0.0 (2.15 KB) by  
                  Przemyslaw Baranski
                
                
                  Fits Gaussian curve into points. The curve is understood as a probability density function, pdf.
                
                  
              The function fits Guassian probability density function into a set of points. Standard deviation and mean are returned.
Cite As
Przemyslaw Baranski (2025). Gaussian fit (https://uk.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 LinuxCategories
      Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers
    
  Tags
Acknowledgements
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.
| 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 | 
