Let’s say R is a mxn random matrix. How can generate R with each entry of R is independent and identically chosen from any distribution with mean zero and variance mu^2?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably want ‘randn’, which chooses entries from a Gaussian distribution with norm 1. To get a variance of mu^2, use
For instance:
I get:
Mileage may vary. =)