Cosine bases for the DCT

dct_bases(T_, n)

Arguments

T_

Length of timeseries

n

Number of cosine bases

Value

Matrix with cosine bases along columns