karanbanthia
Junior Member level 1

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.
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.