Wavelet Toolbox
  Go to function:
    Search    Help Desk 
dyadup    Examples   See Also

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:

If you omit the evenodd argument, dyadup(X) defaults to evenodd = 1 (zeros in odd-indexed positions).

Y = dyadup(X,evenodd,'type') or Y = dyadup(X,'type',evenodd), where X is a matrix, return 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'

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

Examples

See Also

dyaddown

References

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



[ Previous | Help Desk | Next ]