- How do you find the similarity between two signals?
- How do you find the similarity between two signals in Python?
How do you find the similarity between two signals?
Similarity in energy (or power if different lengths): Square the two signals and sum each (and divide by signal length for power). (Since the signals were detrended, this should be signal variance.) Then subtract and take absolute value for a measure of signal variance similarity.
How do you find the similarity between two signals in Python?
For measuring the similarity between two temporal signals, you can try using Dynamic Time Warping (DTW). DTW constructs a distance matrix between the two signals and tries to find minimum distance the two signals. If the two signals are identical, then distance is zero.