y = idct2 (x) Computes the inverse 2-D discrete cosine transform of matrix x y = idct2 (x, m, n) or y = idct2 (x, [m n]) Computes the 2-D inverse DCT of x after padding or trimming rows to m and columns to n.