Discrete Fourier Sine and Cosine Transforms

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The discrete Fourier sine and cosine transforms (DST and DCT) can be used to decompose or represent a given digital signal (that is, discrete) in the form of a set of sums of sines and cosines. Four transform types are possible.


In the graphics, the initial signal is converted forward and back by the selected discrete Fourier transforms. For specific cases, either a cosine or a sine transform may be a better representation of the original signal than a combination of sine and cosine terms.


Contributed by: Daniel de Souza Carvalho (March 2011)
Aditional work by: Joe Bolte
Open content licensed under CC BY-NC-SA



The inverse transforms of types 1, 2, 3, and 4 are 1, 3, 2, and 4, respectively.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.