The Inverse Discrete Fourier Transform
Learn how to get back to the time domain from a frequency-domain signal.
We'll cover the following
Complex sinusoids act as building blocks for all signals. This is similar to the , , and dimensions that define any point in 3-D space and the red, green, and blue colors that combine to form any color.
The DFT
We derive the DFT that takes a time-domain signal into the frequency domain. For a signal of length, , we have:
In other words, a time-domain signal is correlated with complex sinusoids having frequencies as integer multiples of . A larger correlation output implies that the contribution of that sinusoid to that signal formation is large.
Going back into the time domain
The inverse discrete Fourier transform (IDFT) is defined as:
Although the expression looks similar to the DFT, there are some fundamental differences.
- The signal of interest on which the operations are performed is .
- The plus sign in implies counterclockwise rotation. This is a beautiful mathematical expression for the idea that the signal on the left-hand side is made up of complex sinusoids, each of them with a complex contribution factor of .
- The scaling by is due to the fact that a single complex sinusoid magnitude is scaled up by during a DFT operation. On the other hand, the correction by produces the original amplitude.
Let’s run this code to see how the inverse DFT brings the frequency-domain signal back into the time domain.
Get hands-on with 1400+ tech skills courses.