Inverse Fourier Transform: Frequency to time domain
16 views (last 30 days)
I want to obtain the scale of time after doing an ifft.
let I have
w=0:0.001:20 % w represents frequency
I want to obtain E(t) by E(t)=ifft(E(w))..
My question is what is the time scale representaion to get the time profile of E(t)?
Ameer Hamza on 13 Oct 2020
w = 0:0.001:20
is frequency of complete fft in rad/s. Then the sampling frequency is
Fs = (w(2)-w(1))*numel(w)/(2*pi); % sampling frequency
Ts = 1/Fs; % sampling time-step
and the corresponding time vector is
t2 = Ts*(0:numel(f)-1);