any
Check if any element of an array is true or nonzero.
y=any(x)
Inputs
x An array of numeric or boolean values.
Outputs
y True if any the element of the input is true or nonzero, and false otherwise.


Example
>>a=[1 2 0 3 4; 7 6 2 3 5]
>>any(a)
         1
>>b=[1 2 0 3 4; 7 6 2 3 5]*0
>>b
          0          0          0          0          0
          0          0          0          0          0

>>any(b)
         0