Products & Services Solutions Academia Support User Community Company


dyadup

Purpose

Dyadic upsampling

Syntax

Description

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

Y = dyadup(X,EVENODD), where X is a vector, returns an extended copy of vector X obtained by inserting zeros. Whether the zeros are inserted as even- or odd-indexed elements of Y depends on the value of positive integer EVENODD:

Y = dyadup(X) is equivalent to Y = dyadup(X,1) (odd-indexed samples).

Y = dyadup(X,EVENODD,'type') or Y = dyadup(X,'type',EVENODD), where X is a matrix, returns extended copies of X obtained by inserting

Columns in X
If 'type' = 'c'
Rows in X
If 'type' = 'r'
Rows and columns in X
If 'type' = 'm'

according to the parameter EVENODD, which is as above.

If you omit the EVENODD or 'type' arguments, dyadup defaults to EVENODD = 1 (zeros in odd-indexed positions) and 'type' = 'c' (insert columns).

Y = dyadup(X) is equivalent to Y = dyaddown(X,1,'c').

Y = dyadup(X,'type') is equivalent to Y = dyadup(X,1,'type'). Y = dyadup(X,EVENODD) is equivalent to Y = dyadup(X,EVENODD,'c').

Examples

See Also

dyaddown

References

Strang, G.; T. Nguyen (1996), Wavelets and Filter Banks, Wellesley-Cambridge Press.


 Provide feedback about this page 

Previous page dyaddown entrupd Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS