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