You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Matlab does not allow to say that a distribution which we fit to a dataset is truncated.
In case of a Gaussian distribution, Matlab just calculates the mean and sigma and uses them as the paramters of a pdf, but this does not work if the distribution is cutted from one side, e.g. when you don't have measurements less than some detection limit. Then fitted distribution will be shifted.
Here I give an small example how to perform fitting in this case.
Cite As
Alex Ryabov (2026). Fitting a truncated normal (Gaussian) distribution (https://uk.mathworks.com/matlabcentral/fileexchange/64040-fitting-a-truncated-normal-gaussian-distribution), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (2.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
