+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 1
    Points: 1,156, Level: 7

    Join Date
    Jan 2010
    Location
    pune
    Posts
    16
    Helped
    1 / 1
    Points
    1,156
    Level
    7

    How to normalize signal for correlation

    Hello all,
    I am using dsPIC30f4011 for signal processing and programming the same using MPLAB C30 compiler. I am scanning two signals simultaneously using ADC in signed fractional format. When I use VectorCorrelate to find cross-correlation between them, it gives me a Math Error since some of the result values are greater than 1. After searching a remedy for the same, I came across a solution suggesting to find normalized cross-correlation which takes care of this saturation problem but I am not sure how to do this. Can anyone please guide me to calculate normalized cross-correlation?

    Thanks in advance.

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 5
    Points: 3,305, Level: 13
    Achievements:
    7 years registered

    Join Date
    Feb 2008
    Location
    Turkiye
    Posts
    259
    Helped
    60 / 60
    Points
    3,305
    Level
    13

    Re: How to normalize signal for correlation

    Hi;
    As i read here you need to normalize vectors [x-mean(x)]/sqrt(var(x)).
    not sure about it, but might give you a starting point.
    This may also help you: http://paulbourke.net/miscellaneous/correlate/
    Good luck.



--[[ ]]--