The Inverse DCT
Value
The returned value depends on the values in y
.
When passed a numeric vector, returns numeric vector of length n
.
When passed a matrix, returns a matrix with n
rows and the same number of columns as y
.
Details
Applies the Inverse DCT (see dct for more details).
$$ x_j = \sqrt{2}y_0 + 2\sum_{k=1}^{N-1} y_k \cos\left(\frac{\pi k(2j+1)}{2J}\right) $$