Truncated multivariate normal
Truncated multivariate normal

Truncated multivariate normal

Generates pseudo-random vectors drawn from the truncated multivariate normal distribution.

Download
Download

You are now following this Submission

Cite As

Tim Benham (2026). Truncated multivariate normal (https://in.mathworks.com/matlabcentral/fileexchange/34402-truncated-multivariate-normal), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Truncated Gaussian

Categories

Find more on Random Number Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Uses chebycenter to find a feasible point to seed the Gibbs sampler if the the random generation does not find one.

Download
1.4.0

1. Correct problem with initialization of the Gibbs sampler.
2. Behave correctly when no constraints supplied.

Download
1.3.0

Added example and improved interface.

Download
1.2.0

Changed interface to support omission of A and b. Added example script rmvnrnd_eg.

Download
1.0.0

Download