logical
将数字值转换为逻辑值
Syntax
Description
Examples
Input Arguments
Tips
Most arithmetic operations involving logical arrays return double values. For example, adding zero to a logical array returns a double array.
Logical arrays also are created by the relational operators (
==
,<
,>
,~
等)和功能像任何
,all
,isnan
,isinf
, andisfinite
.