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