Main Content

Dyadic upsampling

,
where `Y`

= dyadup(`X`

,`EVENODD`

)`X`

upsamples even- or odd-indexed elements of
`X`

. `Y`

can contain even- or odd-indexed
samples of `X`

depends on the value of
`EVENODD`

. Specify `X`

as a vector. When you
specify `X`

as a vector, the function returns an extended copy of
vector `X`

obtained by inserting zeros.

`dyadup`

implements a simple zero-padding scheme very useful in
the wavelet reconstruction algorithm.

[1] Strang, Gilbert, and Truong
Nguyen. *Wavelets and Filter Banks*. Rev. ed.
Wellesley, Mass: Wellesley-Cambridge Press, 1997.