dct_basis {tidynorm} | R Documentation |
DCT Basis
Description
The Discrete Cosine Transform basis functions
Usage
dct_basis(n, k)
Arguments
n |
The length of the basis. |
k |
The number of basis functions. |
Details
This function will generate the DCT basis functions.
Value
A n\times k
matrix
Examples
basis <- dct_basis(100, 5)
matplot(basis, type = "l", lty = 1)
[Package tidynorm version 0.3.0 Index]