Cross Correlation

Hi

I have 2 matrices. I would like to find the cross correlation of the two
variables. I am new to this field. Anyone who knows how to do it please
help
me. If it is possible in GNURadio companion is also acceptable.

Kris

On Tue, Feb 8, 2011 at 6:43 PM, murali krishna [email protected]
wrote:

Hi

I have 2 matrices. I would like to find the cross correlation of the two
variables. I am new to this field. Anyone who knows how to do it please help
me. If it is possible in GNURadio companion is also acceptable.

Kris

Cross correlation of a vector is very easy. You simply create a FIR
filter (or the FFT-based FIR filter, doesn’t matter), set one vector
as the taps and pass the other vector through it. This technique is
used when one vector is static and the other is a streaming input
signal.

If both vectors are signal streams, you could multiply both streams
together and put them through a FIR filter that is full of 1’s and is
the length of the vectors you want to correlate. I feel like there’s a
better way here, but I’m not thinking of anything right now.

For matrices, you might have to think harder about how to use this.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs