Why does the documentation for the XCOV function in the Signal Processing

Illustration
Ralph - 2021-03-17T11:42:02+00:00
Question: Why does the documentation for the XCOV function in the Signal Processing

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.  

Expert Answer

Profile picture of John Williams John Williams answered . 2025-11-20

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)


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!