ISREAL Test For Real Array

Section: Array Generation and Manipulations

Usage

The syntax for isreal is
   x = isreal(y)

and it returns a logical 1 if the argument is a real type (integer, float, or double), and a logical 0 otherwise.