Main Content
getlevels
(Not Recommended) Access nominal or ordinal array levels
The nominal
and ordinal
array data types are not
recommended. To represent ordered and unordered discrete, nonnumeric data, use the Categorical Arrays
data type instead.
Syntax
Description
returns the levels in the nominal or ordinal array L
= getlevels(A
)A
.
L
is a vector of the same type as
A
.
Input Arguments
Version History
Introduced in R2009a