Two Methods for Short Time Fourier Transform (STFT)

Two fast STFT computation scripts and 2 illustrative demos.
548 Downloads
Updated 24 May 2020

View License

Two methods are provided for hassle-free Short-Time Fourier Transform (STFT) computation.

In Method I, the DFT of all signal frames is computed via a single matrix product and serves those who want to gain more insight on the DFT computation mechanism by vectorizing the frame transformation process.

In Method II, the DFT of each signal frame is computed via a frame-by-frame FFT by use of the matlab's buit-in function fft.m.

I also provide 2 demos, one for each method, illustrating their practical use.
Also, some audio files are included for sake of experimentation.

Cite As

Ilias Konsoulas (2024). Two Methods for Short Time Fourier Transform (STFT) (https://www.mathworks.com/matlabcentral/fileexchange/75893-two-methods-for-short-time-fourier-transform-stft), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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.1

Only updated the "inspired by" section.

1.0.0