Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

FFT time shift using Matlab

  1. Feb 6, 2008 #1
    Hi!

    How can I time shift (ts) a real signal (N samples, T time period, dt
    sample rate, Fs sampling frequency) using matlab:

    Timeshift signal = ifft (fft(signal)*exp(2*i*pi*Fs*ts)) ???
    I am trying to do it this way and it is not working?

    For example how would you shift a Cos signal to fit on a Sin signal ( Phase shift of pi/2 or time shift of ts)

    Thanks.
     
  2. jcsd
  3. Feb 10, 2008 #2
    the 'sin' 'cos' was only an example, I am talking about general case.
    I need to know how to do it with FFT, i know that it has something to do with the symmetry of the transformation, i just do not know how to do it.

    Thanks
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook