Code covered by the BSD License  

Highlights from
Short Time Fourier Transform

3.5

3.5 | 2 ratings Rate this file 35 Downloads (last 30 days) File Size: 1.95 KB File ID: #38773
image thumbnail

Short Time Fourier Transform

by

 

24 Oct 2012 (Updated )

Script for computing the short time Fourier transform of 1D signals.

| Watch this File

File Information
Description

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

Acknowledgements

Stft, Short Time Fourier Transform inspired this file.

Required Products Signal Processing Toolbox
MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
25 Apr 2013 Anton Semechko

This is a pretty sloppy implementation of short-time FT. There are no default settings provided and the function throws an error if you specify a column vector instead of a row vector as a your input signal.

01 Dec 2012 nesma alkhulaidi

where is the code? please

26 Nov 2012 Jonathan Lister

Additionally, zero padding should never be done prior to applying a windowing function to your data. This will distort your window function and the results. I believe the first FFT is incorrect.

26 Nov 2012 Jonathan Lister

I don't see where you are scaling the FFTs in your funciton. Each FFT should be scaled by L for complex or L/2 for real valued input.

Updates
24 Oct 2012

Correction of typo in comments

Contact us