I have two electric signals from different sources and I think that are similar. I have the FFT of the signals and I have their spectrums of frequency in separate arrays. How should I proceed to find the percentual of similarity the two signals?

  • 4
    Can you put up the plots and/or data? That will go a long way. – Tarin Ziyaee Aug 7 '13 at 20:57
  • Do these signals carry any meaning or information? Are they interpreted by any of the human senses? Can you think of a class of transformations that would alter the shape of the signals but would still preserve their similarity? It's not clear if what you need is just a squared error or something more complicated... – pichenettes Aug 7 '13 at 23:17

You could measure the Cross-Correlation between the two signals.

Here's an almost identical thread, with a filling answer:

How do I implement cross-correlation to prove two audio files are similar?

Some general info on cross-correlation from wiki: https://en.wikipedia.org/wiki/Cross-correlation

Hope that helps.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.