idct
Builtin index · Signal processing
result = idct(X)
Input: X · Output: result
What it is
X is a length-N real vector of DCT coefficients.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = idct(X) | X vectornot documented yet | dct —round-trips exactly since the basis is orthonormal | Returns a length-N real vector. Orthonormal DCT-III, the exact inverse of dct (round-trips exactly since the basis is orthonormal). |
Examples
From the documentation, and run by the build -- the output and the figure below are what the engine actually produced. Simplest first.
c = dct([1, 2, 3, 4, 5, 6, 7])
xr = idct(c) # xr == the original signal
from numerics-dsp