Reduced Interference Distribution with Bessel kernel.
[TFR,T,F] = tfrridb(X) [TFR,T,F] = tfrridb(X, T) [TFR,T,F] = tfrridb(X, T, N) [TFR,T,F] = tfrridb(X, T, N, G) [TFR,T,F] = tfrridb(X, T, N, G, H) [TFR,T,F] = tfrridb(X, T, N, G, H, TRACE) [TFR,T,F] = tfrridb(...,'plot')
A Nx elements vector (auto-RIDB) or a Nx by 2 array signal (cross-RIDB).
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 real vector with odd length: the time smoothing window, (default :Hamming(N/10)).
It will be normalized such as the middle point equals 1 to preserve signal energy .
real vector with odd length: the frequency smoothing window,(default: Hamming(N/4)).
It will be normalized such as the middle point equals 1 to preserve signal energy.
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 N by Nt array: the time-frequency representation.
A N vector of normalized frequencies.
tfrridb Reduced Interference Distribution with a kernel based on the Bessel function of the first kind. tfrridb computes either the distribution of a discrete-time signal X, or the cross representation between two signals.
N = 128; sig = [fmlin(N,0.05,0.3)+fmlin(N,0.15,0.4) ; zeros(N/2,1)]; g = window("re",31); h = window("re",63); t = 120:130; [TFR,T,F] = tfrridb(sig,t,128,g,h,0); clf; plot(F,TFR); legend("t="+string(120:130),"in_upper_left"); | ![]() | ![]() |