How to obtain the time domain from the frequency domain while computing the numerical inverse Fourier transform of a function not centred at zero frequency?
12 visualizzazioni (ultimi 30 giorni)
I am trying to calculate the numerical inverse fourier transform of a complicated function. For obtaining the time interval from the frequency interval to plot the function and obtain some information I have two questions. I know for the fourier transform if we have time intervals of ts and N number of points, the frequency domain interval would be deltaf = 1/(N*ts). And if we have t = (0:N-1)*ts for time, we would have f = (0:N-1)*deltaf for frequency. Now, if I want to go from frequency to time are the same relations still valid? I mean the same as before if we have f = (0:N-1)*deltaf then t = (0:N-1)*ts where ts = 1/(N*deltaf) . Is that correct? Also, I do have another confusion. My function in frequency spans from 4E9 Hz to 4.5E9 Hz. So, for 500 MHz. I am wondering when I take the inverse fourier transform, how can I obtain the t domain from the given frequency domain for the inverse fourier transform function? I am asking because now there is a huge frequency diffrence between 0 and my given freuqncy range and so I should have a lot of points in my numerical calculation to show that range which is not efficient. One option is to shift the function in the frequency domain such that it is centered at zero frequency and then there would be a missing phase in the inverse fourier transform function in time domain because FF[exp(if0t)*x(t)] <---> x(f-f0) but the time domain can be obtained easily from the frequency domain.
However, if I want to avoid this strategy how can I obtain time domain from frequency domain when calculating the inverse fourier transform numerically?
I appreciate your comments on this!