%% Truth Table
% Create a truth table for the logical OR operation.

A = uint8([0 1; 0 1]);
B = uint8([0 0; 1 1]);
TTable = bitor(A, B)

% bitor returns 1 if either bit-wise input is 1.
% Copyright 2012 The MathWorks, Inc.