


dwtmult1.m Performs multiple levels of the discrete wavelet transform (using dwtlevel1). Lines up stuff for "tree" structure Usage : w = dwtmult1(x, h0, h1, L) Written by : Justin Romberg Created : 5/1/2001


0001 % dwtmult1.m 0002 % 0003 % Performs multiple levels of the discrete wavelet transform (using 0004 % dwtlevel1). Lines up stuff for "tree" structure 0005 % Usage : w = dwtmult1(x, h0, h1, L) 0006 % 0007 % Written by : Justin Romberg 0008 % Created : 5/1/2001 0009 0010 function w = dwtmult1(x, h0, h1, L, sym) 0011 0012 if (nargin == 4), sym = 0; end 0013 0014 N = length(x); 0015 0016 w = x; 0017 for ll = 1:L 0018 w(1:N*2^(-ll+1)) = dwtlevel1(w(1:N*2^(-ll+1)), h0, h1, sym); 0019 end