Function Reference
— Mapping Function: isinf (x)

Return 1 for elements of x that are infinite and zero otherwise. For example,

          isinf ([13, Inf, NA, NaN])
               [ 0, 1, 0, 0 ]