0
$\begingroup$

I have discrete Fourier transformation results from measurements. Looking at the signal from the time domain perspective, I want to shift the signal on the $x$-axis to the left or right.

Which transformation in the frequency-domain results in a left/right shift in the time-domain?

$\endgroup$
2
  • $\begingroup$ This question belongs on dsp.SE, not on stats.SE. Please ask the moderators to migrate it there. You can contact the moderators by clicking on the flag link below your question. $\endgroup$ Feb 24, 2016 at 21:58
  • $\begingroup$ Thanks for the advice, i did send a message to moderators $\endgroup$
    – user259819
    Feb 26, 2016 at 8:44

1 Answer 1

1
$\begingroup$

If $s(t)$ is your signal in time domain, you want to make the operation $s(t+\Delta t)$, which according to the Fourier's transform properties, is equivalent to the operation : $$ S(f)e^{j2\pi f\Delta t} $$ $S(f)$ being $s(t)$ Fourier's transform.

In case of a discrete Fourier's transform, which is defined as $$ S[k] = \sum^{N-1}_{n=0}{s[n]e^{\frac{-i2\pi kn}{N}}} $$ with $s$ the signal and N the number of points of both signal and DFT.

The operation to be applied in order to induce a shift by a number c of samples to $s[n]$ and obtain $s[n+c]$ is : $$ e^{\frac{-i2\pi kc}{N}}S[k] $$

Which in matlab code would be done with :

exp(-j*2*pi*(1:(N-1))*c/N).*S_fdt;
$\endgroup$
2
  • 1
    $\begingroup$ What's the problem, downvoter ? $\endgroup$
    – MaximGi
    Feb 26, 2016 at 10:27
  • 1
    $\begingroup$ Perhaps you could restrict to the case of discrete time and discrete Fourier transform (not the downvoter) $\endgroup$ Feb 26, 2016 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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