<< Ctfrbud Time-Frequency representations (C - Toolbox) Ctfrgrd >>

stftb >> stftb > Time-Frequency representations (C - Toolbox) > Ctfrcw

Ctfrcw

Choi-Williams time-frequency distribution

Calling Sequence

[TFR,T,F] = Ctfrcw(X)
[TFR,T,F] = Ctfrcw(X, T)
[TFR,T,F] = Ctfrcw(X, T, N)
[TFR,T,F] = Ctfrcw(X, T, N, G)
[TFR,T,F] = Ctfrcw(X, T, N, G, H)
[TFR,T,F] = Ctfrcw(X, T, N, G, H, SIGMA)

Parameters

X :

Analyzed signal.

T :

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

N :

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

G :

time smoothing window, (default : Hamming(N/10)).

H :

frequency smoothing window, in the time-domain, (default : Hamming(N/4)).

SIGMA :

kernel width

TFR :

time-frequency representation.

F :

vector of normalized frequencies.

Description

computes the Choi-Williams distribution of a signal X.

Examples

x = hilbert(sin(2*%pi*0.25*(1:128))+0.5*rand(1,128,'normal'));
g = Cwindow(9,'Hamming');
h = Cwindow(27,'Hamming');
t = 1:128;
[tfr,T,F] = Ctfrcw(x,t,128,g,h,1);
grayplot(T,F,tfr');
xlabel time
ylabel frequency

See also

Authors


Report an issue
<< Ctfrbud Time-Frequency representations (C - Toolbox) Ctfrgrd >>