Cross-correlation for signal matches
10 views (last 30 days)
How can i cross-correlate two different signals to determine whether they are matched by frequency. In depth of my question is that the signals will cross-correlate their frequencies and when contain same frequency then the product will have high amplitude and vice versa
Salaheddin Hosseinzadeh on 23 Jun 2015
Edited: Salaheddin Hosseinzadeh on 23 Jun 2015
Here is a example code i used to find the phase-shift between two different signals. I used cross-correlation to determine the phase shift.
In line 26 you can see the crosscorr() function which performs, well of course you know what that does ;)
Hope this helps. If you made the code any better share it with me plz.
Good luck ;)