repr_dct: DCT representation

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/nondata_adaptive_repr.R

Description

The repr_dct computes DCT (Discrete Cosine Transform) representation from a time series.

Usage

1
repr_dct(x, coef = 10)

Arguments

x

the numeric vector (time series)

coef

the number of coefficients to extract from DCT

Details

The length of the final time series representation is equal to set coef parameter.

Value

the numeric vector of DCT coefficients

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

See Also

repr_dft, repr_dwt, dtt

Examples

1
repr_dct(rnorm(50), coef = 4)

TSrepr documentation built on July 13, 2020, 9:07 a.m.