(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 (MATLAB)
data type instead.
levels— Levels to test
Levels to test, specified as a character vector, string array, cell array of character vectors, or 2-D character matrix.
tf— Level indicator