function z = bsxdiv(x, y) % bsxdiv(x, y) = bsxfun(@rdivide, x, y); % Binary "Right (the usual ./) array divide" operator applied element-wise to x and y. % Singleton dimensions are implicitly expanded to make x and y match in size. z = bsxfun(@rdivide, x, y);