Why does the documentation for the XCOV function in the Signal Processing Toolbox 6.8 (R2007b) refer to Gaussian random variables as "Uniform noise with mean = 0.5"? The documentation page for the XCOV function contains the following line of code for the example at the bottom of the page: ww = randn(1000,1); % Uniform noise with mean = 0.5 The RANDN function is not uniform and has a mean of zero.
John Williams answered .
2025-11-20
ww = randn(1000,1); % White Gaussian noise [cov_ww,lags] = xcov(ww,10,'coeff'); stem(lags,cov_ww)