Short Time Fourier Transform
This function enables computation of the short time Fourier transform (STFT) of signals.
The function provides control over the windowing function and overlap ratio, and returns the STFT matrix "fftshifted".
This code was modified from a prior submission by Suraj Kamya, which is available at:
http://www.mathworks.com/matlabcentral/fileexchange/38035-stft-short-time-fourier-transform
Cite As
Hafeez Dhalla (2024). Short Time Fourier Transform (https://www.mathworks.com/matlabcentral/fileexchange/38773-short-time-fourier-transform), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms > Short-Time Fourier Transform >
Tags
Acknowledgements
Inspired by: STFT, Short time fourier transform
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.