Code covered by the BSD License  

Highlights from
Generate multivariate normal data

Be the first to rate this file! 1 Download (last 30 days) File Size: 2.37 KB File ID: #25960 Version: 1.1

Generate multivariate normal data


Calvin Price (view profile)


26 Nov 2009 (Updated )

Generate sample data based on user defined correlations (not covariances).

| Watch this File

File Information

Generates a sample of observations having user defined correlation matrix R. Optionally, the user may also define the means and variances. If unspecified, these two arguments will default to a mean vector of zeros and variance vector of ones.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
28 Jan 2010 1.1

Means and variances are now optional inputs. Number of variables is no longer an input, but is simply inferred from size of correlation matrix.

Contact us