bitand(a,b)对a、b按位进行和运算
语法
C = bitand(A,B)
C = bitand(A,B,assumedtype)
objout = bitand(netobj1,netobj2)
说明
示例
C = bitand(A,B) 返回 A 和 B 的按位 AND。
示例
C = bitand(A,B,assumedtype) 假定 A 和 B 属于 assumedtype。
objout = bitand(netobj1,netobj2) 返回 .NET 枚举对象 netobj1 和 netobj2 的按位 AND。
代码
A = uint8([0 1; 0 1]);
B = uint8([0 0; 1 1]);
TTable = bitand(A, B)
展示