Functions > Transforms and Filters > Example: The Inverse Transformation idft
  
Example: The Inverse Transformation idft
The idft function is the inverse transform of dft and therefore it is expected to restore the original data input to the complex transform.
Working with Vectors (1D)
1. Define the length of vector v.
Click to copy this expression
Click to copy this expression
2. Use the exp function to define and evaluate vector v.
Click to copy this expression
3. Use the dft function to calculate the forward transform of vector v.
Click to copy this expression
4. Use the idft function to calculate the inverse transform of vector v.
Click to copy this expression
5. Show that the inverse transform of the forward transform of vector v is the original vector v.
Click to copy this expression
Click to copy this expression
The results are identical.
Working with Matrices (2D)
1. Define and evaluate matrix C.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Use the dft function to calculate the forward transform of matrix C.
Click to copy this expression
3. Use the idft function to calculate the inverse transform of matrix C.
Click to copy this expression
4. Show that the inverse transform of the forward transform of matrix C is the original matrix C.
Click to copy this expression
Click to copy this expression
The results are identical.
Demonstrating the Underlying Sum Behind idft
One-dimensional Case:
1. Use the exp function and the sum operator to calculate the inverse transform of vector v.
Click to copy this expression
Click to copy this expression
2. Compare the resulting forward transform of vector v with the output of the dft function.
Click to copy this expression
Click to copy this expression
The results are identical.
3. Use the sum operator to calculate the inverse transform of vector v.
Click to copy this expression
4. Compare the resulting inverse transform of vector v with the output of the idft function.
Click to copy this expression
Click to copy this expression
The results are identical.
Two-dimensional case:
1. Use the exp function and the sum operator to calculate the forward transform of matrix C.
Click to copy this expression
Click to copy this expression
2. Compare the resulting forward transform of matrix C with the output of the dft function.
Click to copy this expression
Click to copy this expression
The results are identical.
3. Use the sum operator to calculate the inverse transform of matrix C.
Click to copy this expression
4. Compare the resulting inverse transform of matrix C with the output of the idft function.
Click to copy this expression
Click to copy this expression
The results are identical.