Beruflich Dokumente
Kultur Dokumente
function x = wrcoef(o,c,l,arg4,arg5,arg6)
WRCOEF
reconstructs the coefficients of a 1-D signal at any level,
given a wavelet decomposition structure (C and L) and either
a specified wavelet (’wname’) or specified reconstruction filters
(Lo R and Hi R).
Usage
X = wrcoef(’type’,C,L,’wname’,N)
computes the vector of reconstructed coefficients, based on
the wavelet decomposition structure [C,L]
(see WAVEDEC), at level N. ’wname’ is a string containing
the name of wavelet.
Argument ’type’ determines whether approximation (’type’
= ’a’) or detail (’type’ = ’d’) coefficients are reconstructed.
When ’type’ = ’a’, N is allowed to be 0, otherwise strictly pos-
itive N is required. Level N must be an integer such that N ≤
length(L)-2.
X = wrcoef(’type’,C,L,Lo R,Hi R,N)
computes coefficient as above, given the reconstruction you
specify.
X = wrcoef(’type’,C,L,’wname’) and
X = wrcoef(’type’,C,L,Lo R,Hi R)
reconstruct coefficients of maximum level N = length(L)-2.
• upcoef
function y = upcoef(o,x,arg3,arg4,arg5,arg6)
UPCOEF Direct reconstruction from 1-D wavelet coeffi-
cients.
Y = upcoef(O,X,’wname’,N)
computes the N steps reconstructed coefficients of vector
X. ’wname’ is a string containing the wavelet name. N must
be a strictly positive integer.
If O = ’a’, approximation coefficients are reconstructed.
If O = ’d’, detail coefficients are reconstructed.
Y = upcoef(O,X,’wname’,N,L)
computes the N steps reconstructed coefficients of vector
X and takes the length-L central portion of the result.
Instead of giving the wavelet name, you can give the filters.
For example, in
Y =upcoef(O,X,Lo R,Hi R,N) or
Y = upcoef(O,X,Lo R,Hi R,N,L),
Lo R is the reconstruction low-pass filter and Hi R is the
reconstruction high-pass filter.
Y = upcoef(O,X,’wname’) is equivalent to
Y = upcoef(O,X,’wname’,1).
Y = upcoef(O,X,Lo R,Hi R) is equivalent to
2. 1-D DISCRETE WAVELET TRANSFORM IN MATLAB 69