www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/TruthTableForLogicalORExample.m

    %% Truth Table for Logical OR
% Create a truth table for |or|.
A = [true false]

%%
B = [true; false]

%% 
C = A|B