<< midpoint Post-Processing or Help to the Interpretation momttfr >>

stftb >> stftb > Post-Processing or Help to the Interpretation > momftfr

momftfr

Frequency moments of a time-frequency representation

Calling Sequence

[TM,D2] = momftfr(TFR)
[TM,D2] = momftfr(TFR, TMIN)
[TM,D2] = momftfr(TFR, TMIN, TMAX)
[TM,D2] = momftfr(TFR, TMIN, TMAX, TIME)

Parameters

TFR :

a matrix of size Nrow by Ncol: the time-frequency representation.

TMIN :

an integer in [1 Ncol]: the smallest column element of TFR taken into account (default : 1)

TMAX :

an integer in [TMIN Ncol]: highest column element of TFR taken into account (default : Ncol)

TIME :

a real vector of size TMAX-TMIN+1: the true time instants (default : 1:Ncol)

TM :

a real column vector of size Nrow: the averaged time (first order moment)

D2 :

a real column vector of size Nrow: the squared time duration (second order moment)

Description

momftfr computes the frequeny moments of a time-frequency representation.

Examples

sig = fmlin(128,0.1,0.4);
[tfr,t,f] = tfrwv(sig); 
[tm,D2] = momftfr(tfr);
subplot(211); plot(f,tm); 
subplot(212); plot(f,D2);

See also

Authors


Report an issue
<< midpoint Post-Processing or Help to the Interpretation momttfr >>