% downc.m % usage: Y = downc(X) % Performs downsampling on the columns of X % even numbered rows are discarded function Y = downc(X) m = size(X,1); m = (m-mod(m,2))/2; Y = X(2*(1:m)-ones(1,m),:);