Last chance! 50% off unlimited learning
Sale ends in
Inverse Fourier Transform
INVRft(G, n, tstart, dt)
truncate time vector to N points
frequencies
times
Input fourier transform
length of time vector
time series starts at tstart
Delta t, sample rate
Jonathan M. Lees<jonathan.lees.edu>
G is a vector spectrum evaluated at positive and negative frequencies as defined by makefreq. tstart, dt and n define the output time vector as described above.
g is the Inverse Fourier Transform of G scaled by dt. time shift theorem has been used to account for time not starting at t=0.
makefreq, FRWDft, INSTresponse
zil <- rnorm(300)
fss <- FRWDft( zil, length(zil), 0, 0.004)
INVRft(fss$G, length(zil), 0, 0.004)
Run the code above in your browser using DataLab