Categorical Arrays

Arrays for discrete, nonnumeric data, and grouping variables

Start Here

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.

Functions

nominal Create nominal array
ordinal Create ordinal array
dummyvar Create dummy variables
grpstats Summary statistics organized by group
gplotmatrix Matrix of scatter plots by group
grp2idx Create index vector from grouping variable
gscatter Scatter plot by group

Using Objects

nominal Arrays for nominal data
ordinal Arrays for ordinal data
Was this topic helpful?