ispositive
Element-wise positive test.
Syntax
Section titled “Syntax”TF = ispositive(A)Description
Section titled “Description”Returns true for elements strictly greater than zero. Faster equivalent of A > 0.
Example
Section titled “Example”ispositive([0 1 -1 2]) % [0 1 0 1]