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

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

%%
B = [true; false]

%%
C = A&B