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.