• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Advertise
  • Subscribe

Test & Measurement Tips

Oscilloscopes, electronics engineering industry news, how-to EE articles and electronics resources

  • Oscilloscopes
    • Analog Oscilloscope
    • Digital Oscilloscope
    • Handheld Oscilloscope
    • Mixed-signal Oscilloscope
    • PC-based Oscilloscopes – PCO
  • Design
  • Calibration
  • Meters & Testers
  • Test Equipment
  • Learn
    • eBooks/Tech Tips
    • FAQs
    • EE Training Days
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Video
    • EE Videos
    • Teardown Videos
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • Leap Awards
    • White Papers
  • Subscribe
You are here: Home / Featured / How to calculate and apply an inverse FFT: part 1

How to calculate and apply an inverse FFT: part 1

December 12, 2024 By Rick Nelson Leave a Comment

The inverse Fourier transform (inverse FFT or iFFT) reverses the operation of the Fourier transform and derives a time-domain representation from a frequency-domain dataset.

In early 2024, EE World published a series on the Fourier transform, which can convert a time-domain signal to the frequency domain (Figure 1, red arrow). The process is reversible (Figure 1, blue arrow), and we’ll close out the year looking the inverse Fourier transform.

inverse FFT
Figure 1. The inverse Fourier transform reverses the operation of the Fourier transform.

Your time-domain waveform looks continuous. Will we be covering a discrete version of the inverse Fourier transform?
Yes, we will focus exclusively on the inverse discrete Fourier transform (IDFT) and the inverse fast Fourier transform (IFFT), which speeds up IDFT execution. Here’s the IDFT formula:
where X(k) represents our frequency-domain dataset, N is the number of data points in X(k), and x(n) represents the time-domain dataset we want to construct.

Could you provide a simple example of how the inverse FFT works?
Let X(k) equal 0, 1, 2, 3, so N equals 4, and we can simplify equation 1:
We can start by solving for x(n=0). With n equaling zero, all our exponents for all possible values of k (0, 1, 2, 3) are zero, and equation 2 becomes trivial:
The other three equations are not so trivial.

How do we handle the nonzero exponents?
The trick is to remember Euler’s formula:
Figure 2 shows all four equations with annotations in red, and our IDFT dataset is x(n) = 1.5, -0.5-j0.5, -0.5, -0.5+0.5j.

Euler's equation example
Figure 2. Euler’s formula helps evaluate terms with nonzero exponents.

How do we automate this process?
As in our earlier series on the Fourier transform, we’ll use Microsoft Excel. Excel uses a version of the fast Fourier transform (FFT) that requires that the number of points N in a dataset must be a power of 2. We have four in the sample dataset we presented above, so we can start with that.

How do we get started?
Figure 3 shows how to proceed. Enter column headings as shown on the top left and then enter the input dataset in cells A2 through A5. Then select the Data tab and choose Data Analysis from the Data ribbon. A list of available analysis tools will appear. Choose Fourier Analysis, and the box in the top right of Figure 3 will appear. Check Inverse on the bottom left of the box and enter the data input range (A2 through A5). Then, click the Output Range button, and enter the cell range where Excel should write the results (B2 to B5 in this example). Click OK and Excel will generate the results as shown in the bottom right. As you can see, Excel’s results agree with our manual calculations. (If you encounter problems executing these steps, including not being able to find Data Analysis on the Data ribbon, see part 1 and part 2 of our earlier Fourier analysis series for more detail.)

Excel iFFT screen
Figure 3. Excel’s results agree with our manual calculations in Figure 2.

Continue to part 2 (available December 17, 2024).

You may also like:


  • Why does the Fourier Transform provide apparently inaccurate results, and…
  • multidomain oscilloscope analysis
    Debugging digital and analog signals with cross-domain analysis
  • fraction fourier transform
    A fractional Fourier Transform? Yes, there is such a thing.
  • spectrum analyzer block diagram
    Basics of spectrum analyzers

  • Fast Fourier Transforms

  • Basics of Fourier transforms

Filed Under: Communication Test, Digital Oscilloscope, FAQ, Featured, PC-based spectrum analyzers, spectrum analyzer Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Featured Contributions

Why engineers need IC ESD and TLP data

Verify, test, and troubleshoot 5G Wi-Fi FWA gateways

How to build and manage a top-notch test team

How to use remote sensing for DC programmable power supplies

The factors of accurate measurements

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE TRAINING CENTER

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“test
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.
“bills

RSS Current EDABoard.com discussions

  • ISL8117 buck converter blowing up
  • need of carrier supression when locking to cavity resonator
  • Wireless microphone reviews
  • audio transformers impedance
  • Help Creating .lib File for SCR in LTspice

RSS Current Electro-Tech-Online.com Discussions

  • RS485 bus: common ground wire needed or not?
  • Kawai KDP 80 Electronic Piano Dead
  • Good Eats
  • What part is this marked .AC ?
  • Photo interrupter Connections
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Footer

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy