plot FFT

plot a single-sided spectrum with true frequency x-axis
193 Downloads
Updated 4 Jun 2019

View License

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 (2024). plot FFT (https://www.mathworks.com/matlabcentral/fileexchange/71755-plot-fft), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0