Reassigned Stankovic distribution
[TFR,RTFR,HAT] = tfrrstan(X) [TFR,RTFR,HAT] = tfrrstan(X, T) [TFR,RTFR,HAT] = tfrrstan(X, T, N) [TFR,RTFR,HAT] = tfrrstan(X, T, N, G) [TFR,RTFR,HAT] = tfrrstan(X, T, N, G, H) [TFR,RTFR,HAT] = tfrrstan(X, T, N, G, H, TRACE) [TFR,RTFR,HAT] = tfrrstan(...,'plot')
A Nx elements vector: the analyzed signal .
a real Nt vector with elements regularly spaced in [1 Nx] : time instant(s) (default: 1:NX).
a positive integer: the number of frequency bins (default:NX). For faster computation N should be a power of 2.
a real vector with odd length: the frequency averaging window (default :[0.25 0.5 0.25]).
real vector with odd length: the stft smoothing window,(default: Hamming(N/4)).
A boolean (or a real scalar) if true (or nonzero),the progression of the algorithm is shown (default : %f).
if one input parameter is 'plot', tfrqview is called and the time-frequency representation will be plotted.
A real N by Nt array: the time-frequency representation.
A real N by Nt array: the reassigned time-frequency representation.
A complex N by Nt array: the reassignment vectors.
tfrrstan computes the Stankovic distribution and its reassigned version.
N = 128; sig = fmlin(N,0.1,0.4); g = window('hn',9); h = window("hn",61); t = 1:2:128; tfr = tfrrstan(sig,t,N,g,h); f = (0.5*(0:N-1)/N)'; clf; gcf().color_map = jetcolormap(128); grayplot(t,f,tfr'); | ![]() | ![]() |