[SOLVED] How to normalize signal for correlation

Status
Not open for further replies.

karanbanthia

Junior Member level 1
Joined
Jan 7, 2010
Messages
16
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
pune
Activity points
1,412
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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…