lub w Matlab

% logical or
|

% logical and
&

% logical xor
xor(A,B)

%logical not
~
slohobo