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

Time Frequency Toolbox >> Time Frequency Toolbox > Post-Processing or Help to the Interpretation > margtfr

margtfr

Marginals and energy of a time-frequency representation.

Calling Sequence

[MARGT,MARGF,E]=margtfr(TFR,T,F)

Parameters

TFR :

time-frequency representation (M,N)

T :

vector containing the time samples in sec. (default : (1:N))

F :

vector containing the frequency samples in Hz, not necessary uniformly sampled. (default : (1:M))

MARGT :

time marginal

MARGF :

frequency marginal

E :

energy of TFR

Description

margtfr calculates the time and frequency marginals and the energy of a time-frequency representation.

Examples

S=altes(128,0.05,0.45); TFR=tfrscalo(S,1:128,8,'auto');
[MARGT,MARGF,E] = margtfr(TFR);
subplot(211); plot(T,MARGT); subplot(212); plot(F,MARGF);

See also

Authors

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