dcost {PEIP}R 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)


[Package PEIP version 2.2-5 Index]