Code covered by the BSD License  

Highlights from
bsxops

from bsxops by Bruno Luong
Force MATLAB operators to behave BSXFUN-like

plus(x,y)
function res = plus(x,y)

if isequal(size(x),size(y)) || isscalar(x) || isscalar(y)
    res=builtin('plus',x,y);
else
    res=bsxfun(@plus,x,y);
end

Contact us at files@mathworks.com