File Exchange

image thumbnail

STFT, Short time fourier transform

version (1.57 KB) by Suraj Kamya
Short Time Fourier Transform without using inbuilt function.


Updated 06 Sep 2012

View License

To compute STFT three windows are available in this code Rectangular, Hamming and Hanning. By default window overlapping is set by 50%. One can easily compute the STFT of sound signals.
Results are shown by 'imagesc' & 'surf'
function in single window.

Cite As

Suraj Kamya (2021). STFT, Short time fourier transform (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Ye Yuan

Pedro Junior


I have a noisy signal "X", whose size is an array of "1152074 x 1". I wish calculate the "Short team fourier transform" (STFT) and implemetar in matlab. Generally, we calculate FFT, I use an algorithm that works correctly, I use a Hamming window, with NFFT = 8192 points of the signal. MAs can not do an algorithm to calculate the STFT of the signal. Can someone help me?


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

Inspired: Short Time Fourier Transform

Community Treasure Hunt

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

Start Hunting!