I have a signal h
that I want to delay for a time t
.
I know that I could use two possible approaches:
- $h_{\text{delay}}[k] = \delta[k-\tau]\star h[k]$
- $h_{\text{delay}}[k] = \text{IFFT}\left(\lvert H(\omega)\rvert e^{j\phi(\omega)}\cdot e^{-j\omega \tau}\right)$
Which theoretically should be completely equivalent (as far as I know).
From the performance and precision point of view, which of the 2 is better? Is there any trade-off in numerical precision or speed?
h_delayed[k]=h[k-tau]
. $\endgroup$