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