ISREAL Test For Real Array

Section: Inspection Functions

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.