diffsptk
alias of diffsptk.core.dct.DiscreteCosineTransform
diffsptk.core.dct.DiscreteCosineTransform
See this page for details.
DCT length, \(L\).
Apply DCT to input.
Input.
DCT output.
Examples
>>> x = diffsptk.ramp(3) >>> dct = diffsptk.DCT(4) >>> y = dct(x) >>> y tensor([ 3.0000, -2.2304, 0.0000, -0.1585])
See also
idct
previous
cdist
next
decimate