Rihaczek time-frequency distribution.
[TFR,T,F] = tfrri(X) [TFR,T,F] = tfrri(X, T) [TFR,T,F] = tfrri(X, T, N) [TFR,T,F] = tfrri(X, T, N, TRACE) [TFR,T,F] = tfrri(...,'plot')
A Nx elements vector (auto-RI) or a Nx by 2 array signal (cross-RI).
a real Nt vector with elements 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 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 complex N by Nt array: the time-frequency representation.
A N vector of normalized frequencies.
tfrri computes the Rihaczek distribution of a discrete-time signal X, or the cross Rihaczek representation between two signals.
N = 128; sig = fmlin(N,0.1,0.4); [TFR,T,F] = tfrri(sig); clf;gcf().color_map = jetcolormap(128); grayplot(T,F(1:N/2),real(TFR(1:N/2,:))'); | ![]() | ![]() |