Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Generating numbers from a multivariate standard normal distribution

Asked by John on 13 Apr 2012

Hello,

I have estimated the product moment correlation p between 3 normal variables YT1, YT2 and YD. I want generate 3 numbers yt1, yt2 and yd from a multivariate standard normal distribution with correlation p.

This is my correlation matrix:

	YT1	YT2	D
YT1	1	0.25	-0.33
YT2	0.25	1	0.27
D	-0.33	0.27	1

Could anybody advise me on how to do this in Matlab?

Thank you

John

0 Comments

John

Tags

Products

No products are associated with this question.

Contact us