Statistics Toolbox    
mvnrnd

Random matrices from the multivariate normal distribution.

Syntax

Description

r = mvnrnd(mu,SIGMA,cases) returns a matrix of random numbers chosen from the multivariate normal distribution with mean vector mu and covariance matrix SIGMA. cases specifies the number of rows in r.

SIGMA is a symmetric positive definite matrix with size equal to the length of mu.

Example

See Also
normrnd


 multcompare mvtrnd