# idct

Version:

Computes the inverse discrete cosine transform.

## Syntax

c = idct(a)
c = idct(a, b)

## a

Input array. a is an array. If a is a 2D array, idct computes the inverse discrete cosine transform along the first non-singleton dimension of a.

## b

Pads a with zeros or truncates a to length b. b is a positive integer.

## c

Inverse discrete cosine transform of a.

x = cos(0:12);
y = idct(x, 16)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices