usualsuspect
Newbie level 3
![Newbie level 3](/styles/images/ranks/alevel3.gif)
randn matlab
In MATLAB
a = randn(1,1000) results in a vector of 1000 elements with a Gaussian distribution, mean=0 and variance=1.
b = cumsum(a) what is "b"? It seems to be meaningless.
c = sqrt(cumsum(a.^2)) If "a" is white noise, then is "c" 1/f noise? How is the mean and variance of "c" related to that of "a"?
Thanks.
In MATLAB
a = randn(1,1000) results in a vector of 1000 elements with a Gaussian distribution, mean=0 and variance=1.
b = cumsum(a) what is "b"? It seems to be meaningless.
c = sqrt(cumsum(a.^2)) If "a" is white noise, then is "c" 1/f noise? How is the mean and variance of "c" related to that of "a"?
Thanks.