Documentation Center

  • Trial Software
  • Product Updates


Class: categorical

True if categorical array is scalar

The nominal and ordinal array data types might be removed in a future release. To represent ordered and unordered discrete, nonnumeric data, use the MATLAB® categorical data type instead.


TF = isscalar(A)


TF = isscalar(A) returns true (1) if the categorical array A is a 1-by-1 matrix, and false (0) otherwise.

See Also

| |

Was this topic helpful?