function z = bsxgt(x, y) % bsxgt(x, y) = bsxfun(@gt, x, y); % Binary "Greater than" operator applied element-wise to x and y. % Singleton dimensions are implicitly expanded to make x and y match in size. z = bsxfun(@gt, x, y);