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