A Fast Fourier Transform, or FFT, is the simplest way to distinguish the frequencies of a signal. Use the process for cellphone and Wi-Fi transmissions, compressing audio, image and video files, and for solving differential equations. Microsoft Excel includes FFT as part of its Data Analysis ToolPak, which is disabled by default. To produce a graph displaying the frequencies in a signal, you must first enable the ToolPak since the process involves the use of numerous algorithms for the complex mathematics.
Enable the ToolPak if you have not already done so. Click the "Office" button, and then choose "Options." Click "Add-In Options," highlight "Analysis ToolPak," and press "Go." Highlight "Analysis ToolPak" a second time, and then press the "OK" button.
- A Fast Fourier Transform, or FFT, is the simplest way to distinguish the frequencies of a signal.
- Highlight "Analysis ToolPak" a second time, and then press the "OK" button.
Open Excel and create a new spreadsheet file. Add the title "Time" to the A column, followed by the titles "Data," "FFT Frequency," "FFT Complex" and "FFT Magnitude" to columns B through E respectively.
Input the data from your samples into the Data column. Make a note of the number of data points and the sampling rate used.
Write the time at which each data point was taken in the Time column. Determine this by dividing the total time by the number of data points.
- Open Excel and create a new spreadsheet file.
- Write the time at which each data point was taken in the Time column.
Open the "Data" tab, and then select "Data Analysis." Select the "Fourier Analysis" option and press the "OK" button. Set the input range as the information in the Data column and the output as the FFT Complex column.
Type the equation "=IMABS (E2)" into the first cell of the FTT Magnitude column. Drag the equation downward to fill every cell of the column. This equation creates real numbers, instead of complex numbers, in the previous column.
Fill column F with the corresponding data, from column A, point minus one. Create a separate cell with the equation "=(S/2)/(N/2)," replacing "S" with the sampling rate and "N" with the number of samples.
Enter the equation "=F2*SG$4" in the first cell of the FTT Frequency column. This time, drag the equation only to the halfway point in the column.
Create a graph, using the FTT Magnitude column for the y-axis and the FTT Frequency column for the x-axis. The graph displays the dominant frequencies as peaks.