MATLAB: 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”

Signal Processing Toolbox

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.

Best Answer

This bug has been fixed in Release 2008b (R2008b).
This is an error within the documentation for the XCOV function within the Signal Processing Toolbox for previous releases. The documentation should read as follows:
ww = randn(1000,1); % White Gaussian noise
[cov_ww,lags] = xcov(ww,10,'coeff');
stem(lags,cov_ww)