% hilosync.m % usage: Y = hilosync(X,l,h) % Performs a low pass high pass synthesis on the columns of X. % It is assumed that length(h), length(l) <= #rows(X) % both l and h are time reversed function Y=hilosync(X,l,h) m = size(X,1); l = l(:); h = h(:); Xl = X(1:(m/2),:); Xh = X((m/2+1):m,:); Y = crevconv2(upc(Xl),l)+crevconv2(upc(Xh),h);