Short Time Fourier Transform
Short Time Fourier Transform
Fourier Analysis
Fourier analysis expands signals or functions in terms
of sinusoids (or complex exponentials).
It reveals all frequency components present in a signal.
(inverse DFT)
where:
(forward DFT)
Examples
f1 (t ) cos(2 5 t )
f 2 (t ) cos(2 25 t )
f 3 (t ) cos(2 50 t )
Examples (contd)
F1(u)
F2(u)
F3(u)
F4(u)
Provides excellent
localization in the
frequency domain
but poor localization
in the time domain.
F4(u)
Non-stationary
signals: time-varying
spectra
f (t )
5
F4(u)
F5(u)
FT
Reconstructed
1
Reconstructed
2
Reconstructed
7
Reconstructed
23
Reconstructed
39
Reconstructed
63
Reconstructed
95
Reconstructed
127
Frequency
parameter
Signal to
be analyzed
STFT fu (t , u ) f (t ) W (t t ) e j 2 ut dt
t
STFT of f(t):
computed for each
window centered at t=t
Windowing
function
centered at t=t
STFT (t , u ) f (t ) W (t t ) e
dt
u
f
Example
f(t)
Example
STFT fu (t , u )
f(t)
W(t)
scaled: t/20
How wide?
Window should be narrow enough to make sure that the
portion of the signal falling within the window is stationary.
Very narrow windows do not offer good localization in the
frequency domain.
STFT fu (t , u ) f (t ) (t t ) e j 2 ut dt f (t ) e jut
t
Example
different size windows
Example (contd)
STFT fu (t , u )
STFT fu (t , u )
scaled: t/20
Example (contd)
STFT fu (t , u )
STFT fu (t , u )
scaled: t/20