mvnrnd
Multivariate normal random numbers
Description
returns a matrix R = mvnrnd(mu,Sigma,n)R of n random vectors
chosen from the same multivariate normal distribution, with mean vector
mu and covariance matrix Sigma. For
more information, see Multivariate Normal Distribution.
Examples
Input Arguments
Output Arguments
More About
Tips
mvnrndrequires the matrixSigmato be symmetric. IfSigmahas only minor asymmetry, you can use(Sigma + Sigma')/2instead to resolve the asymmetry.In the one-dimensional case,
Sigmais the variance, not the standard deviation. For example,mvnrnd(0,4)is the same asnormrnd(0,2), where4is the variance and2is the standard deviation.
References
[1] Kotz, S., N. Balakrishnan, and N. L. Johnson. Continuous Multivariate Distributions: Volume 1: Models and Applications. 2nd ed. New York: John Wiley & Sons, Inc., 2000.
Extended Capabilities
Version History
Introduced before R2006a

