CWT filter bank quality factor
returns the quality factor for the wavelet bandpass filters in
qf = qfactor(
fb. The quality factor is the ratio of the 3-dB bandwidth
to the center frequency, where the center frequency is the geometric mean of the
bandwidth frequencies. The larger the quality factor, the more frequency localized
the wavelet. For reference, a half-band filter has a quality factor of
Quality Factor of CWT Filter Bank
Create a CWT filter bank using the default analytic Morse (3,60) wavelet.
fb = cwtfilterbank;
Compute the quality factor of the filter bank.
qf = qfactor(fb)
qf = 4.6296
Create a CWT filter bank using the analytic Morse (3,10) wavelet. Compute the quality factor of the filter bank. The analytic Morlet (3,10) wavelet is not localized in frequency as well as the Morse (3,60) wavelet. Confirm that the quality factor of the second filter bank is smaller than the first filter bank.
fb2 = cwtfilterbank('Timebandwidth',10); qf2 = qfactor(fb2)
qf2 = 1.8445
qf — Quality factor
Quality factor, returned as a positive real number.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced in R2018a