


idwtmult1_conv.m adjoint of dwtmult1_conv.


0001 % idwtmult1_conv.m 0002 % 0003 % adjoint of dwtmult1_conv. 0004 0005 function x = idwtmult1_conv(w, g0, g1, J) 0006 0007 sym = 3; 0008 0009 w = w(:)'; 0010 0011 L = length(w); 0012 x = []; 0013 xl = w(1:L*2^(-J+1)); 0014 for j = J:-1:1 0015 xh = idwtlevel1(xl, g0, g1, 3); 0016 xh = xh(1:end-1); 0017 if j == 1 0018 x = xh; 0019 return; 0020 end 0021 xp = w(L*2^(-j+1)+1:L*2^(-j+2)); 0022 npad = length(xh)-length(xp); 0023 0024 % center 0025 % xl = [xh zeros(1,ceil(npad/2)) xp zeros(1,floor(npad/2))]; 0026 0027 % left 0028 xl = [xh xp zeros(1,npad)]; 0029 end