% fbanlrow.m
% usage: Y = fbanlrow(X,l,h,s) 
% Performs an s-stage DWT transform on the rows of X. (analysis filter bank)
% It is assumed that l and h are smaller than #cols(X)/2^s
% and that 2^s divides #cols(X)

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

                   
