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

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

tfrcw

Choi-Williams time-frequency distribution.

Calling Sequence

[TFR,T,F]=tfrcw(X
[TFR,T,F]=tfrcw(X,T)
[TFR,T,F]=tfrcw(X,T,N)
[TFR,T,F]=tfrcw(X,T,N,G)
[TFR,T,F]=tfrcw(X,T,N,G,H)
[TFR,T,F]=tfrcw(X,T,N,G,H,SIGMA)
[TFR,T,F]=tfrcw(X,T,N,G,H,SIGMA)
[TFR,T,F]=tfrcw(...,'plot')

Parameters

X :

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

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)).

SIGMA :

kernel width (default : 1)

TRACE :

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

'plot':

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

TFR :

time-frequency representation.

F :

vector of normalized frequencies.

Description

tfrcw computes the Choi-Williams distribution of a discrete-time signal X, or the cross Choi-Williams 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; tfrcw(sig,t,128,g,h,3.6,1,'plot');

Authors

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