<< tfrgrd Bilinear Time-Frequency Processing in the Cohen's Class tfrmhs >>

stftb >> stftb > Bilinear Time-Frequency Processing in the Cohen's Class > tfrmh

tfrmh

Margenau-Hill time-frequency distribution

Calling Sequence

[TFR,T,F] = tfrmh(X)
[TFR,T,F] = tfrmh(X, T)
[TFR,T,F] = tfrmh(X, T, N)
[TFR,T,F] = tfrmh(X, T, N, TRACE)
[TFR,T,F] = tfrmh(...,'plot')

Parameters

X :

A Nx elements vector (auto-MH) or a Nx by 2 array signal (cross-MH).

T:

a real Nt vector with elements in [1 Nx] : time instant(s) (default: 1:NX).

N:

a positive integer: the number of frequency bins (default:NX). For faster computation N should be a power of 2.

TRACE :

A boolean (or a real scalar) if true (or nonzero),the progression of the algorithm is shown (default : %f).

'plot':

if one input parameter is 'plot', tfrqview is called and the time-frequency representation will be plotted.

TFR :

A real N by Nt array: the time-frequency representation.

F :

A N vector of normalized frequencies.

Description

tfrmh computes the Margenau-Hill distribution of a discrete-time signal X, or the cross Margenau-Hill representation between two signals.

Examples

Interactive use

N = 128;
sig = fmlin(N,0.1,0.4); 
tfrmh(sig,1:N,N,'plot');

Non interactive use

N = 128;
sig = fmlin(N,0.1,0.4); 
[TFR,T,F] = tfrmh(sig,1:N,N);
clf; gcf().color_map = jetcolormap(128);
grayplot(T,F,TFR');

Authors


Report an issue
<< tfrgrd Bilinear Time-Frequency Processing in the Cohen's Class tfrmhs >>