isinf
Tests if a value is infinite.
Syntax
R = isinf(A)
Inputs
- A
 - The input to be tested for infinite values.
 
Outputs
- R
 - Each element of R is a logical value indicating whether the corresponding element of A is infinite.
 
Example
R = isinf([1, inf, 2/0])
      R = [0 1 1]