Skip to content

isinf

Determining if an array has entries equal to infinity

isinf(A)

  • It returns an array whose element is equal to logical 1 if the corresponding element in A has infinity value, and logical 0 if otherwise.
  • The output has the same size as A.
  • It returns an empty array if A is empty.