(Not Recommended) Determine if levels are in nominal or ordinal array
ordinal array data types are not
recommended. To represent ordered and unordered discrete, nonnumeric data, use the Categorical Arrays
data type instead.
levels — Levels to test
character vector | string array | cell array of character vectors | 2-D character matrix
Levels to test, specified as a character vector, string array, cell array of character vectors, or 2-D character matrix.