This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

qfactor

CWT filter bank quality factor

Syntax

qf = qfactor(fb)

Description

example

qf = qfactor(fb) returns the quality factor for the wavelet bandpass filters in 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 sqrt(2).

Examples

collapse all

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

Input Arguments

collapse all

Continuous wavelet transform (CWT) filter bank, specified as a cwtfilterbank object.

Output Arguments

collapse all

Quality factor, returned as a positive real number.

Data Types: double

Introduced in R2018a