Documentation Center

  • Trial Software
  • Product Updates

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.


nominal Arrays for nominal categorical data
ordinal Arrays for ordinal categorical data


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
Was this topic helpful?