Inverse Short time Fourier transform.
[X,T]=tfristft(tfr,T,H) [X,T]=tfristft(tfr,T,H,TRACE)
>a N by M complex matrix: the time-frequency representation.
a vector with integer values and increments between elements equal to 1: the time instant(s)(default : 1:length(X)).
a real vector with odd size: the frequency smoothing window, H being normalized so as to be of unit energy.
if nonzero of %t, the progression of the algorithm is shown (default : %f).
a column vector of size length(t): the signal with the specified time frequency representation.
tfristft computes the inverse short-time Fourier transform of a discrete-time signal X. This function may be used for time-frequency synthesis of signals.
t=200+(-128:127); sig=[fmconst(200,0.2);fmconst(200,0.4)]; h=window("hm",57); tfr=tfrstft(sig,t,256,h); sigsyn=tfristft(tfr,t,h); plot(t',abs(sigsyn-sig(t))) | ![]() | ![]() |