Function File: [u, v] = dwt (x, wname)
Function File: [u, v] = dwt (x, Hp, Gp)
Function File: [u, v] = dwt (x, Hp, Gp, …)

Discrete wavelet transform (1D).

Inputs

x

Signal vector.

wname

Wavelet name.

Hp

Coefficients of low-pass decomposition FIR filter.

Gp

Coefficients of high-pass decomposition FIR filter.

Outputs

u

Signal vector of average, approximation.

v

Signal vector of difference, detail.

Package: signal