Minimum mean cross-entropy combination of spectrograms
[TFR,T,F] = tfrmmce(X, H) [TFR,T,F] = tfrmmce(X, H, T) [TFR,T,F] = tfrmmce(X, H, T, N) [TFR,T,F] = tfrmmce(X, H, T, N, TRACE) [TFR,T,F] = tfrmmce(...,'plot')
A Nx elements vector.
A real array with at least two columns and an odd number of rows .
a real Nt vector with elements in [1 Nx] : time instant(s) (default: 1:NX).
a positive integer: the number of frequency bins (default:NX). For faster computation N should be a power of 2.
A boolean (or a real scalar) if true (or nonzero),the progression of the algorithm is shown (default : %f).
if one input parameter is 'plot', tfrqview is called and the time-frequency representation will be plotted.
A real N by Nt array: the time-frequency representation.
A N vector of normalized frequencies.
tfrmmce computes the minimum mean cross-entropy combination of spectrograms using as windows the columns of the matrix H.
Interactive use
N = 128; sig = fmlin(N,0.1,0.4); h = zeros(19,3); h(10+(-5:5),1) = window("hm",11); h(10+(-7:7),2) = window("hm",15); h(10+(-9:9),3) = window("hm",19); tfrmmce(sig,h,'plot'); | ![]() | ![]() |
Non interactive use
N = 128; sig = fmlin(N,0.1,0.4); h = zeros(19,3); h(10+(-5:5),1) = window("hm",11); h(10+(-7:7),2) = window("hm",15); h(10+(-9:9),3) = window("hm",19); [TFR,T,F] = tfrmmce(sig,h); clf; gcf().color_map = jetcolormap(128); grayplot(T,F,TFR'); | ![]() | ![]() |