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.
Jason Nicholson (2020). FFT Notes (https://www.mathworks.com/matlabcentral/fileexchange/70403-fft-notes), MATLAB Central File Exchange. Retrieved .
small minor update for clarity.
Reformatted the script. I made the document more clear.
Adding an image