RosettaCodeData/Task/Random-numbers/MATLAB/random-numbers-1.m

3 lines
55 B
Mathematica
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
mu = 1; sd = 0.5;
x = randn(1000,1) * sd + mu;