PeteMurray
-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Correlation and Matlab
in Mathematics
Posted
Hi everyone,
I'm having a little trouble using the xcorr instruction in matlab, and honestly I don'y quite get how it works. Now I know that when you type l=xcorr(u,v) it creates a new vector that containg the entire correlation sequence. But say I want to calculate [y(t-1)*y(t-2)]/N, whete t=1,...,N.
How do I do that using the xcorr instruction?
Thanks,
PM