Very fast generator of vectors from the standard multivariate normal or Gaussian distribution, truncated over the region [l,u]. The generator is designed for both speed and accuracy --- especially in the tail of the normal distribution, where the inverse transform method frequently breaks down due to underflow errors.
Reference: Botev, Z. I. (2016). "The normal law under linear restrictions: simulation and estimation via minimax tilting". Journal of the Royal Statistical Society: Series B (Statistical Methodology). doi:10.1111/rssb.12162
For more information, see: https://en.wikipedia.org/wiki/Truncated_normal_distribution
Cite As
Zdravko Botev (2024). Truncated Normal Generator (https://www.mathworks.com/matlabcentral/fileexchange/53180-truncated-normal-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Contrast Adjustment >
Tags
Acknowledgements
Inspired by: Truncated Normal and Student's t-distribution toolbox
Inspired: Truncated Normal and Student's t-distribution toolbox, Quasi Skewed Truncated Normal Generator, Normal Quantile with Precision
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.0.0.0 | - added some space to reference and a few more keywords Added a title and picture to the submission.
|