plot FFT

version 1.0.0 (1.5 KB) by Edden M. Gerber
plot a single-sided spectrum with true frequency x-axis

171 Downloads

Updated Tue, 04 Jun 2019 16:22:07 +0000

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 (2022). 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
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!