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.