MATLAB: Gaussian distributed random numbers

gaussian distributionrandom number generatorwhite noise

I need to generate a stationary random numbers with gaussian distribution of zero mean and a variance of unity with max value one.

Best Answer

The core MATLAB function randn will produce normally-distributed random numbers with zero mean and unity standard deviation.
If you want the numbers to be limited to those <=1, this will work:
q = randn(1,10);
q = q(q<=1);