powered by
The repr_dft computes DFT (Discrete Fourier Transform) representation from a time series by FFT (Fast Fourier Transform).
repr_dft
repr_dft(x, coef = 10)
the numeric vector (time series)
the number of coefficients to extract from FFT
the numeric vector of DFT coefficients
The length of the final time series representation is equal to set coef parameter.
coef
repr_dwt, repr_dct, fft
# NOT RUN { repr_dft(rnorm(50), coef = 4) # }
Run the code above in your browser using DataLab