Time moments of a time-frequency representation.
[FM,B2]=momttfr(TFR) [FM,B2]=momttfr(TFR,METHOD) [FM,B2]=momttfr(TFR,METHOD,FBMIN) [FM,B2]=momttfr(TFR,METHOD,FBMIN,FBMAX) [FM,B2]=momttfr(TFR,METHOD,FBMIN,FBMAX,FREQS)
time-frequency representation ([Nrow,Ncol]=size(TFR)).
chosen representation (name of the corresponding M-file).
smallest frequency bin (default : 1)
highest frequency bin (default : Nrow)
true frequency of each frequency bin. FREQS must be of length FBMAX-FBMIN+1. (default : 0:step:(0.5-step) or -0.5:step:(0.5-step) depending on METHOD)
averaged frequency (first order moment)
frequency band (second order moment)
momttfr computes the time moments of a time-frequency representation.