oder in Matlab

% logical or
|

% logical and
&

% logical xor
xor(A,B)

%logical not
~
slohobo