Create nominal array

After creating a `nominal`

array, you
can use related functions to add, drop, or merge categories, and more.

For more information, see Using nominal Objects.

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.

`B = nominal(X)`

`B = nominal(X,labels)`

example`B = nominal(X,labels,levels)`

`B = nominal(X,labels,[],edges)`

Was this topic helpful?