Normalizing correlation coefficients for sequences of unequal length without unnecessary zero padding
Mostrar comentarios más antiguos
I have 2 questions:
1. Can some one explain why normalization{unbiased} of cross-corelation coefficents is carried out? I want to understand this at an intuitive level and not a mathematical one.
2. I have written my own code to carry out cross corelation between 2 sequences. The sequences are of unequal length. The code has been written in such a way that only the longer sequence has to be zero padded and that to only to the length of the smaller sequence-1.
How am I supposed to carry out normalization in this case?
Kindly help me figure this out.
Respuesta aceptada
Más respuestas (2)
Rohan
el 17 de Nov. de 2012
0 votos
Rohan
el 17 de Nov. de 2012
0 votos
1 comentario
Greg Heath
el 18 de Nov. de 2012
If I scale to get a peak of 1 for autocorrelation, I get a warm fuzzy feeling when I get 0.76 for crosscorrelation at zero lag because I think I know how similar the functions are.
If I don't scale to get a peak of 1 for autocorrelation, I have to look at both autocorrelation curves to try to interpret the crosscorrelation curve.
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!