What the two columns represnt when i generate a multivarite normal random numbers
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Fissha Marye
am 30 Nov. 2019
Kommentiert: Jeff Miller
am 2 Dez. 2019
I run the following command to genrate two variables joint normally distributed with mean Mu and covariance matrix Sigma, which are defined below
MU=zeros(2,1)
sigma=[1 0.7;0.7 1]
M=mvnrnd(MU,sigma,N)
Then it genartes N,2 vector. But I want to know what the two columns represent.
Thank you!
0 Kommentare
Akzeptierte Antwort
Jeff Miller
am 1 Dez. 2019
The two columns represent the two variables measured for each case, and the N rows represent the N randomly selected cases from this bivariate normal distribution. For example, the cases/rows might be analogous to people, and the variables/columns analogous to their heights and weights.
4 Kommentare
Jeff Miller
am 2 Dez. 2019
Sorry, I don't see what's going on with that.
You'd better open a new question.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!