DSP Blockset
  Go to block:
    Search    Help Desk 
DCT    See Also

Compute the DCT of the input.

Library

Transforms, in General DSP

Description

The DCT block computes the unitary discrete cosine transform (DCT) of the input frame independently at each sample time. For a length-M input u, the DCT is given by

where

Multichannel inputs (i.e., frame matrices) are not accepted. The output of the block is a vector with the same size, period, and data type (real/complex) as the input vector.

The DCT is closely related to the discrete Fourier transform. You can often reconstruct a sequence very accurately from only a few DCT coefficients, which is useful in applications requiring data compression.

Dialog Box

See Also

Complex Cepstrum
FFT
IDCT
Real Cepstrum
dct (Signal Processing Toolbox)


[ Previous | Help Desk | Next ]