% fbsyncol.m
% usage: Y = fbsyncol(X,l,h,s) 
% Performs an s stage inverse DWT transform on the columns of X. (synthesis filter bank)
% It is assumed that l and h are smaller than #rows(X)/2^s
% and that 2^s divides #rows(X))
% time reversals of the masks l and h are used

function Y=fbsyncol(X,l,h,s)
  [m,n] = size(X);
  Y = X;
  for  r =  (s-1):(-1):0
     mr = m/2^(r); 
     Y(1:mr,:) = hilosync(Y(1:mr,:),l,h);
     end;
    

                   
