FFT Notes

This shows how to process a signal with an odd and even length fft.
120 Downloads
Updated 2 Dec 2025

View License

This live script shows how to process a signal with an odd and even length FFT. The magnitude, phase, and corresponding frequency vector are calculated. This live script is a quick reference for the next time I want to do these calculations. Applications include frequency analysis of signals, Short Time Fourier Transform (STFT), ideal filtering (combined with symmetric ifft), and probably some other applications.

Cite As

Jason Nicholson (2026). FFT Notes (https://uk.mathworks.com/matlabcentral/fileexchange/70403-fft-notes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers
Version Published Release Notes
1.1.2

Fixed a typo

1.1.1

small minor update for clarity.

1.1

Reformatted the script. I made the document more clear.

1.0.1

Adding an image

1.0.0