Multilevel 1-D wavelet reconstruction
X = waverec(C,L,Lo_R,Hi_R)
X = waverec(C,L,
X = appcoef(C,L,
X = waverec(C,L,' reconstructs
X based on the multilevel wavelet decomposition
[C,L] and wavelet
(For information about the decomposition structure, see
X = waverec(C,L,Lo_R,Hi_R) reconstructs
X as above, using the reconstruction
filters you specify.
Lo_R is the reconstruction
low-pass filter and
Hi_R is the reconstruction
X = waverec(C,L, is
X = appcoef(C,L,.
% The current extension mode is zero-padding (see dwtmode). % Load original one-dimensional signal. load leleccum; s = leleccum(1:3920); ls = length(s); % Perform decomposition of signal at level 3 using db5. [c,l] = wavedec(s,3,'db5'); % Reconstruct s from the wavelet decomposition structure [c,l]. a0 = waverec(c,l,'db5'); % Check for perfect reconstruction. err = norm(s-a0) err = 3.2079e-09
Usage notes and limitations:
Variable-size data support must be enabled.
Use in a MATLAB Function block is not supported.