Truncated Gaussian

Generate a pseudo-random vector X drawn from the truncated Gaussian distribution

Download
Download

You are now following this Submission

Cite As

Bruno Luong (2026). Truncated Gaussian (https://uk.mathworks.com/matlabcentral/fileexchange/23832-truncated-gaussian), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Truncated multivariate normal

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

Use asymptotic formula for unbalanced range to avoid round-off error issue

Download
1.0.0

Download