<< false | Logical type functions | true >> |
Y = logical(X) |
a numeric value.
a logical value.
logical converts a numeric value to logical type.
Nonzero value converted to true and zeros values converted to false.
Complex numbers returns an error.
A = eye(2, 2)
B = logical(A)
islogical(B)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET