% hilosynr.m
% usage: Y = hilosynr(X,l,h) 
% Performs a low pass high pass synthesis on the rows of X.
% It is assumed that length(h), length(l) <= #rows(X) 
% both l and h are time reversed 

function Y=hilosynr(X,l,h)
n = size(X,2);
l = l(:)';
h = h(:)';
Xl = X(:,1:(n/2));
Xh = X(:,(n/2+1):n);
Y = crevconv2(upr(Xl),l)+crevconv2(upr(Xh),h);

                   
