<< tfristft Linear Time-Frequency Processing tfrsurf >>

Time Frequency Toolbox >> Time Frequency Toolbox > Linear Time-Frequency Processing > tfrstft

tfrstft

Short time Fourier transform.

Calling Sequence

[TFR,T,F]=tfrstft(X)
[TFR,T,F]=tfrstft(X,T)
[TFR,T,F]=tfrstft(X,T,N)
[TFR,T,F]=tfrstft(X,T,N,H
[TFR,T,F]=tfrstft(X,T,N,H,TRACE)
[TFR,T,F]=tfrstft(...,'plot')

Parameters

X :

signal.

T :

time instant(s) (default : 1:length(X)).

N :

number of frequency bins (default : length(X)).

H :

frequency smoothing window, H being normalized so as to be of unit energy. (default : Hamming(N/4)).

TRACE :

if nonzero, the progression of the algorithm is shown (default : 0).

'plot':

if one input parameter is 'plot', tfrstft runs tfrqview. and TFR will be plotted

TFR :

time-frequency decomposition (complex values). The frequency axis is graduated from -0.5 to 0.5.

F :

vector of normalized frequencies.

Examples

sig=[fmconst(128,0.2);fmconst(128,0.4)]; tfr=tfrstft(sig);
subplot(211); grayplot(1:128,1:128,abs(tfr)');
subplot(212); grayplot(1:128,1:128,atan(imag(tfr),real(tfr))');

Authors

<< tfristft Linear Time-Frequency Processing tfrsurf >>