dcost: cosine transform

Description Usage Arguments Value Author(s) Examples

View source: R/dcost.R

Description

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

Usage

1
dcost(X)

Arguments

X

Time series matrix

Value

cosine transformaed data

Author(s)

Jonathan M. Lees<[email protected]>

Examples

1
2
3
4
5
6
 x <- 1:4

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

PEIP documentation built on Jan. 20, 2018, 9:03 a.m.