Documentation Center

  • Trial Software
  • Product Updates


Class: categorical

Transpose categorical matrix

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 = transpose(A)


B = transpose(A) returns the transpose of the 2-D categorical matrix A. ctranspose is identical to transpose for categorical arrays. The syntax A.' calls transpose.

See Also


Was this topic helpful?