dcost: cosine transform

View source: R/dcost.R

dcostR Documentation

cosine transform

Description

Computes the column-by-column discrete cosine transform of X.

Usage

dcost(X)

Arguments

X

Time series matrix

Value

cosine transformaed data

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples


 x <- 1:4

### compare fft with cosine transform
     fft(x)
    
dcost(x)


PEIP documentation built on Aug. 21, 2023, 9:10 a.m.