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 real valued and a logical 0 otherwise.