Code covered by the BSD License  

Highlights from
bsxops

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

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

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

Contact us at files@mathworks.com