FUNCTION REFERENCE

ewt

Empirical wavelet transform.

Empirical wavelet transform.

Syntax

[mra, cfs] = ewt(x)

Syntax

[mra, cfs] = ewt(x, Name, Value)

Splits the spectrum (Gilles 2013) at boundaries between the peaks of a sine multitaper spectrum and filters with Meyer-type empirical wavelets that form a tight frame, so sum(mra, 2) equals x(:). Peaks: those above 'PeakThresholdPercent' (70) % of the largest, or the 'MaxNumPeaks' largest. 'SegmentMethod' 'geomean' (default, geometric mean of adjacent peak frequencies) or 'localmin' (first spectral minimum between them). 'FrequencyResolution' (at most 0.25, default 6/(M+1)) sets round(FrequencyResolution*(M+1))-1 tapers, M = max(N, 64). 'LogSpectrum' finds peaks on the log spectrum. Columns go from the highest band down to the lowpass part.

Example

t = (0:255)'; [mra, cfs] = ewt(cos(2*pi*0.05*t) + 0.5*cos(2*pi*0.2*t), 'MaxNumPeaks', 2);

Differences from MATLAB: the wfb and info outputs, timetable and complex input and plotting are not supported; the default frequency resolution and boundaries may differ.

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