- How do you find the time delay between two signals?
- How do you calculate time delay between two signals in Matlab?
- How do you differentiate between two signals?
- How do you quantify similarity between two signals?
How do you find the time delay between two signals?
τdelay=argmax ((f∗g)(t)), this will estimate the time offset where the signals are best aligned.
How do you calculate time delay between two signals in Matlab?
d = finddelay( x , y ) returns an estimate of the delay d between input signals x and y . Delays in x and y can be introduced by prepending zeros. d = finddelay( x , y , maxlag ) uses maxlag to find the estimated delay(s) between x and y .
How do you differentiate between two signals?
To compare two signals you can use wavelet cross correlation and also wavelet coherence and wavelet phase analyses. In the first case you compare the cross correlation of the signal at different frequencies. In wavelet phase analysis you see which and if a signal anticipates another across time.
How do you quantify 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.