% fbsynrow.m
% usage: Y = fbsynrow(X,l,h,s) 
% Performs an s stage inverse DWT transform on the rows of X. (synthesis filterbank)
% It is assumed that l and h are smaller than #cols(X)/2^s
% and that 2^s divides #cols(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
     nr = n/2^r; 
     Y(:,1:nr) = hilosynr(Y(:,1:nr),l,h);
     end;
    

                   
