Owning Class: boolean
Requires: MathScript RT Module
status = any(a)
status = any(a, dim)
Determines whether any non-zero input element exists. any is equivalent to not(all(not(.))).
| Name | Description | ||||
|---|---|---|---|---|---|
| a | Specifies a scalar, vector, or matrix of Boolean values. | ||||
| dim | Specifies the dimension along which LabVIEW determines whether any input elements are non-zero. dim is an integer that accepts the following values.
|
| Name | Description |
|---|---|
| status | Returns 0 if a contains no non-zero elements. Otherwise, this function returns 1. status is a Boolean. |
A = [0, 4; 9, 6]
STATUS = any(A)