FUNCTION REFERENCE

cwtfilterbank

Continuous wavelet transform filter bank.

Continuous wavelet transform filter bank.

Syntax

fb = cwtfilterbank

Syntax

fb = cwtfilterbank(Name, Value, ...)

Syntax

[wt, f, coi] = wt(fb, x)

Syntax

[psidft, f] = freqz(fb)

Syntax

[psi, t] = wavelets(fb)

Syntax

s = scales(fb)

The requested rows-by-SignalLength filter matrix must fit the engine's element and memory limits before the object is created.

Object with the read-only properties SignalLength (default 1024), Wavelet ('Morse', 'amor' or 'bump'), VoicesPerOctave (10), SamplingFrequency (1), FrequencyLimits, TimeBandwidth (60), WaveletParameters and Boundary ('reflection' or 'periodic'). wt(fb, x) is the transform of a signal of SignalLength samples, the same as cwt. freqz returns the frequency responses of the wavelet filters, one row per scale, on the DFT grid the transform uses (one-sided; 'FrequencyRange', 'twosided' gives the full grid in DFT order); wavelets returns the time-domain wavelets, one row per scale, with the sample times t; scales returns the scales in samples; centerFrequencies(fb) and centerPeriods(fb) return the wavelet centre frequencies and their reciprocals.

Example

fb = cwtfilterbank('SignalLength', 256, 'Wavelet', 'bump', 'VoicesPerOctave', 12); [wt, f, coi] = wt(fb, cos(2*pi*0.1*(0:255)));

Example

fb = cwtfilterbank('SignalLength', 128, 'SamplingFrequency', 100); [psidft, f] = freqz(fb); [psi, t] = wavelets(fb); s = scales(fb);

Differences from MATLAB: wt, freqz, wavelets and scales are called as functions (wt(fb, x)), not with dot syntax; 'SamplingPeriod' and 'PeriodLimits', the lowpass (scaling) filter, the plots and the other methods (powerbw, qfactor, BPfrequencies, ...) are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.