Member of the boolean class.
status = any(a)
Determines whether any non-zero input element exists. any is equivalent to not(all(not(.))).
| Name | Description |
| a | Specifies a scalar, vector, or matrix. |
| Name | Description |
| status | Returns 0 if a contains no non-zero elements. Otherwise, this function returns 1. status is a Boolean. If a is a matrix, any works column-wise and returns a row vector containing one Boolean element for each column of a. |
A = [0, 4; 9, 6]
STATUS = any(A)