Function File: dct2 (x)
Function File: dct2 (x, m, n)
Function File: dct2 (x, [m, n])

Compute the 2-D discrete cosine transform of matrix x. If m and n are specified, the input is padded or trimmed to the desired size.

See also: dct, idct, idct2.

Package: signal