repr_dft {TSrepr} | R Documentation |
The repr_dft
computes DFT (Discrete Fourier Transform) representation from a time series by FFT (Fast Fourier Transform).
repr_dft(x, coef = 10)
x |
the numeric vector (time series) |
coef |
the number of coefficients to extract from FFT |
The length of the final time series representation is equal to set coef
parameter.
the numeric vector of DFT coefficients
Peter Laurinec, <tsreprpackage@gmail.com>
repr_dft(rnorm(50), coef = 4)