Truncated Multivariate Normal Generator

(perfect) sampling from the truncated multivariate normal density

You are now following this Submission

Simulates 'n' random vectors exactly (perfectly) distributed from the d-dimensional N(0,Sig) distribution (zero-mean normal with covariance 'Sig'), conditional on l<X<u. Infinite values for the truncation limits 'l' and 'u' are accepted.
Reference: Z. I. Botev (2015), "The Normal Law Under Linear Restrictions: Simulation and Estimation via Minimax Tilting", submitted to JRSS(B)

Cite As

Zdravko Botev (2026). Truncated Multivariate Normal Generator (https://www.mathworks.com/matlabcentral/fileexchange/53792-truncated-multivariate-normal-generator), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Truncated Multivariate Normal Moments

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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