ISNUMERIC Test for Numeric Array

Section: Inspection Functions

Usage

The syntax for isnumeric is
  x = isnumeric(y)

and it returns a logical 1 if the argument is a numeric (i.e., not a structure array, cell array, string or user defined class), and a logical 0 otherwise.