I need to generate a Gaussian random sample of n numbers, with mean 0 and variance 1, using the randn function.

n

randn

In general, how would I generate a Gaussian random sample X of n numbers, with mean mu and variance v, using the randn function?

X

mu

v

Post reply

© 2016 Powered by mzan.com design MATCHINFO