A basic and slow version of computing DFT vs the fast in-built FFT.
Note: This is for illustration purpose only.
No Importance is given to speed and optimization
Praveen Ranganath (2021). Computation of DFT - WIth and without using FFT (https://www.mathworks.com/matlabcentral/fileexchange/52485-computation-of-dft-with-and-without-using-fft), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!