Comparing two signals using correlation in matlab

1. Comparing two signals using correlation in matlab

How to compare two signals using correlation in matlab. i know the function is xcorr. But xcorr returns an array of coefficients. What I want to learn is the next step in comparing them. I have no idea of how to compare them. •

2. Re: Comparing two signals using correlation in matlab

See what I am getting is that u dont know what cross correlation means...
When there u find the cross correlation between signals A and B, U are actually judging the how closely A and B are related.
[corr,lag]=xcorr(A,B,maxlag);
stem(lag,corr);
what it does that with different- different lags compares A and B. and gives u the result. The more the value of coefficient the similar they are.

U can also use cross correlation for pattern recognition as follows:
autocorrelate A
Cross correlate A and B
if the results are same then A and B are same.[COLOR="Silver"] •

3. Re: Comparing two signals using correlation in matlab

how to correlate a two voice. and how to compare 1 members found this post helpful. •

4. Re: Comparing two signals using correlation in matlab

The voice files can be read in an arry for each and proceed. --[[ ]]--