jeudi 5 mars 2015

MATLAB Random Number Generator

I'm a beginner in Matlab and I can't solve the problem below.


"Starting with z (0,1) Gaussian Random variable; generate 10000 random variables with mean 10, variance 1; call it r6 vector.


At first glance, I tried to write r6=10+1*randn(10000,1); but I am not sure whether it's correct or not. Any help will be appreciated. Many thanks





Aucun commentaire:

Enregistrer un commentaire