plot FFT

plot a single-sided spectrum with true frequency x-axis

You are now following this Submission

This is a simple function that plots the result of the FFT transform, but replacing the arbitrary x-axis with a true freqency axis (using the input sampling frequency). It plots just one side of the symmetrical FFT vector.
You can also use the function to extract the frequency axis vector without creating the plot.

Cite As

Edden M. Gerber (2026). plot FFT (https://ch.mathworks.com/matlabcentral/fileexchange/71755-plot-fft), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0