


dwtmult1_conv.m Performs multiple levels of the discrete wavelet transform with linear filtering (using dwtlevel1 with sym == 3) Usage : w = dwtmult1(x, h0, h1, L) Modified from dwtmult1.m by Justin Romberg


0001 % dwtmult1_conv.m 0002 % 0003 % Performs multiple levels of the discrete wavelet transform with linear 0004 % filtering (using dwtlevel1 with sym == 3) 0005 % Usage : w = dwtmult1(x, h0, h1, L) 0006 % 0007 % Modified from dwtmult1.m by Justin Romberg 0008 0009 % NOT TESTED YET... 0010 0011 function w_conv = dwtmult1_conv(x, h0, h1, L) 0012 0013 sym = 3; 0014 0015 N = length(x); 0016 w_conv = []; 0017 wl = x(:)'; 0018 for ll = 1:L 0019 w = dwtlevel1(wl, h0, h1, sym); 0020 wl = w(1,:); 0021 wh = w(2,:); 0022 w_conv = [wh w_conv]; 0023 end 0024 w_conv = [wl w_conv];