Doubt about xcorr function
Show older comments
Hello!
I have question about the xcorr function.
I have a vector with random bits 0s and 1s.
I do the autocorrelation of this vector and the output is the following:

However, shouldn't the autocorrelation for a random vector trace be like this:

sorry for my paint skills..
What is that space below the plot??? Is there any way to take it out?
Many thanks, João
Accepted Answer
More Answers (0)
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!