
function w = FWT2_halfstep(x,ht,gt,sht,sgt);

% FWT2_halfstep -- 1 step of Biorthogonal WT
% Usage
%   ww = FWT2_halfstep(x,ht,gt,sht,sgt)
% Inputs
%   x        signal (possibly array)
%   ht, sht  lp filter + shift
%   gt, sgt  hp filter + shift
% Outputs
%   ww       FWT on the rows
% Description
%   filter the rows of x


[m n] = size(x);
J = log2(n);
J = round(J);
w = FWT_BIO(x,J-1,ht,gt,sht,sgt);
