- How do you find the delay between two signals?
- What is frequency delay?
- How do you calculate filter delay?
How do you find the delay between two signals?
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 .
What is frequency delay?
Frequency Domain Representation of the Time Delay
This tells us that the magnitude of a time delay is just unity, and is independent of frequency. This makes sense - if you delay a signal, you are not changing the magnitude of the signal, you are only changing the timing of the signal.
How do you calculate filter delay?
The formula is simple: given a FIR filter which has N taps, the delay is: (N – 1) / (2 * Fs), where Fs is the sampling frequency. So, for example, a 21 tap linear-phase FIR filter operating at a 1 kHz rate has delay: (21 – 1) / (2 * 1 kHz)=10 milliseconds.