matlab布尔运算的问题
请教大虾:matlab支持布尔运算吗?若支持运算符是哪个?
谢谢了。 help &
.........
relop - Short-circuit logical AND &&
relop - Short-circuit logical OR ||
and - Element-wise logical AND &
or - Element-wise logical OR |
not - Logical NOT ~
xor - Logical EXCLUSIVE OR
any - True if any element of vector is nonzero
all - True if all elements of vector are nonzero 用matlab做布尔运算?想达到什么目的?
页:
[1]