Other MATLAB Functions Supporting Nominal and Ordinal Arrays

Note

The nominal and ordinal array data types are not recommended. To represent ordered and unordered discrete, nonnumeric data, use the Categorical Arrays (MATLAB) data type instead.

Notable functions that operate on nominal and ordinal arrays are listed in nominal and ordinal. In addition to these, many other functions in MATLAB® operate on nominal and ordinal arrays in much the same way that they operate on other arrays. A few functions might exhibit special behavior when operating on nominal and ordinal arrays:

  • If multiple input arguments are nominal or ordinal arrays, the function often requires that they have the same set of categories, including order if ordinal.

  • Relational functions, such as max and gt, require that the input arrays be ordinal.

The following table lists MATLAB functions that operate on nominal and ordinal arrays in addition to other arrays.

See Also

|