+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Junior Member level 3
    Points: 715, Level: 5

    Join Date
    Jan 2011
    Location
    Kharagpur/Hyderabad
    Posts
    25
    Helped
    4 / 4
    Points
    715
    Level
    5

    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.

    •   AltAdvertisement

        
       

  2. #2
    Newbie level 1
    Points: 287, Level: 3

    Join Date
    May 2011
    Posts
    1
    Helped
    0 / 0
    Points
    287
    Level
    3

    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"]



    •   AltAdvertisement

        
       

  3. #3
    Newbie level 1
    Points: 74, Level: 1

    Join Date
    Jul 2012
    Posts
    1
    Helped
    1 / 1
    Points
    74
    Level
    1

    Re: Comparing two signals using correlation in matlab

    how to correlate a two voice. and how to compare


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 3
    Points: 6,591, Level: 19
    Achievements:
    7 years registered

    Join Date
    Jun 2009
    Location
    India
    Posts
    856
    Helped
    163 / 163
    Points
    6,591
    Level
    19

    Re: Comparing two signals using correlation in matlab

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



--[[ ]]--