ISINTEGER Test for Integer Array

Section: Array Generation and Manipulations


The syntax for isinteger is
  x = isinteger(y)

and it returns a logical 1 if the argument is an integer. The decision of whether the argument is an integer or not is made based on the class of y, not on its value.