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.

centerFrequencies

CWT filter bank bandpass center frequencies

Syntax

bpcf = centerFrequencies(fb)

Description

example

bpcf = centerFrequencies(fb) returns the wavelet bandpass center frequencies bpcf for the CWT filter bank fb. Frequencies are ordered from high to low. Frequencies are in cycles/sample if a sampling frequency or sampling period is not specified. If a sampling frequency is specified, bpcf has units of hertz. If a sampling period is specified, bpcf has units cycles/unit time where the time unit is the same as the duration SamplingPeriod.

Examples

collapse all

Create a CWT filter bank.

fb = cwtfilterbank;

Return the bandpass center frequencies.

bpcf = centerFrequencies(fb);

Plot the frequency responses of the filter bank and the bandpass center frequencies. Observe that the bandpass center frequencies correspond to the peaks of the frequency response of each wavelet in the filter bank.

freqz(fb)
hold on
plot(bpcf,2*ones(size(bpcf)),'rx')

Input Arguments

collapse all

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

Output Arguments

collapse all

Wavelet bandpass center frequencies, returned as a real-valued vector of length Ns where Ns is the number of scales in the filter bank. Frequencies are ordered from high to low. Frequencies are in cycles/sample if a sampling frequency or sampling period is not specified. If a sampling frequency is specified, bpcf has units of hertz. If a sampling period is specified, bpcf has units cycles/unit time where the time unit is the same as the duration SamplingPeriod.

Introduced in R2018b