WLJS LogoWLJS Notebook

FourierDCT

FourierDCT[list] finds the Fourier discrete cosine transform of a list of real numbers.

FourierDCT[list,m] finds the Fourier discrete cosine transform of type m.

Examples

FourierDCT[{1, 2, 3, 4}]
(* {5., -2.23044, 0., -0.158384} *)
FourierDCT[{1, 0, -1, 0}, 2]
(* DCT type 2 result *)

Please visit the official Wolfram Language Reference for more details.

On this page