DSPRelated.com
Forums

matlab FFT and time shift

Started by Unknown May 4, 2001
Hi everybody!

if anybody can answer to that (would be really helpful..):

how to time shift (ts) a real signal (N samples, T time period, dt
sample rate) using matlab:

timeshift signal = ifft (fft(signal)*exp(2i.pi.f.ts)) ???

and then what is 'f' in the equation? is it the vector:

f = [0:(length(fft(signal))-1)*df] with df = 1/(N*T)???

thanks

M.