ou no matlab

% logical or
|

% logical and
&

% logical xor
xor(A,B)

%logical not
~
slohobo