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

Time Frequency Toolbox >> Time Frequency Toolbox > 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 :

time-frequency representation ([Nrow,Ncol]size(TFR)).

TMIN :

smallest column element of TFR taken into account (default : 1)

TMAX :

highest column element of TFR taken into account (default : Ncol)

TIME :

true time instants (default : 1:Ncol)

TM :

averaged time (first order moment)

D2 :

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

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