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