ISSCALAR Test For Scalar

Section: Inspection Functions

Usage

The syntax for isscalar is
   x = isscalar(y)

and it returns a logical 1 if the argument is a scalar, and a logical 0 otherwise.