<< tfrcw Bilinear Time-Frequency Processing in the Cohen's Class tfrmh >>

Time Frequency Toolbox >> Time Frequency Toolbox > Bilinear Time-Frequency Processing in the Cohen's Class > tfrgrd

tfrgrd

Generalized rectangular time-frequency distribution.

Calling Sequence

[TFR,T,F]=tfrgrd(X)
[TFR,T,F]=tfrgrd(X,T)
[TFR,T,F]=tfrgrd(X,T,N)
[TFR,T,F]=tfrgrd(X,T,N,G)
[TFR,T,F]=tfrgrd(X,T,N,G,H)
[TFR,T,F]=tfrgrd(X,T,N,G,H,RS)
[TFR,T,F]=tfrgrd(X,T,N,G,H,RS,MOVERN)
[TFR,T,F]=tfrgrd(X,T,N,G,H,RS,MOVERN,TRACE)
[TFR,T,F]=tfrgrd(...,'plot')

Parameters

X :

signal if auto-GRD, or [X1,X2] if cross-GRD.

T :

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

N :

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

G :

time smoothing window, G(0) being forced to 1. (default : Hamming(N/10)).

H :

frequency smoothing window, H(0) being forced to 1. (default : Hamming(N/4)).

RS :

kernel width (default : 1).

MOVERN :

dissymmetry ratio (default : 1).

TRACE :

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

'plot':

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

TFR :

time-frequency representation.

F :

vector of normalized frequencies.

Description

tfrgrd computes the Generalized Rectangular distribution of a discrete-time signal X, or the cross GRD representation between two signals.

Examples

sig=fmlin(128,0.05,0.3)+fmlin(128,0.15,0.4);
g=tftb_window(9,'Kaiser'); h=tftb_window(27,'Kaiser');
t=1:128; tfrgrd(sig,t,128,g,h,36,1/5,1,'plot');

Authors

<< tfrcw Bilinear Time-Frequency Processing in the Cohen's Class tfrmh >>