Tuesday, 20 August 2013

Does the randn function in matlab take values from a normally distributed population

Does the randn function in matlab take values from a normally distributed
population

I had a question regarding the randn function in matlab.
"randn generates random numbers and matrices whose elements are normally
distributed with mean 0 and variance 1."
I got this off a website: http://www.math.ufl.edu/help/matlab/randn.html
I just wanted to know if this means that the mean and variance of any
randn matix or randn vector generated will be 0 and 1 respectively?
Thanks

No comments:

Post a Comment