FUNCTION REFERENCE

dwt

Single-level 1-D discrete wavelet transform.

Single-level 1-D discrete wavelet transform.

Syntax

[cA, cD] = dwt(x, wname)

Syntax

[cA, cD] = dwt(x, LoD, HiD)

Syntax

[cA, cD] = dwt(..., 'mode', extmode)

Extends x by the current dwtmode (or 'mode'), convolves with the decomposition filters and keeps every second sample: floor((n+lf-1)/2) coefficients, ceil(n/2) for 'per'. A column x gives column outputs.

Example

[cA, cD] = dwt([1 2 3 4 5 6], 'haar')

Example

[cA, cD] = dwt(sin(1:10), 'db2', 'mode', 'per')

Differences from MATLAB: real vectors only.

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