% hiloanlc.m % usage: Y = hiloanlc(X,l,h) % Performs a low pass high pass analysis of the columns of X. % It is assumed that length(h), length(l) <= #rows(X) function Y=hiloanlc(X,l,h) l = l(:); h = h(:); %change to column vectors if necessary Yl = circconv2(X,l); Yh = circconv2(X,h); Y =[downc(Yl);downc(Yh)];