Hallo my question is about generating normal distributed random numbers with randn function of MATLAB, e.g.
x=25.589665545.*(1+0*randn(100,1));std(x)ans =1.7853e-014
or with huge numbers :
y=10^25.*(1+0*randn(10000,1)); std(y) ans =1.0631e+012
is that not strange? to be sure there are some other ways to generate array with constant numbers, but I see this when I want to generate variables with different deviations, for any command pthanks in advance
Best Answer