Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

char - Class: categorical

Convert categorical array to character array

Syntax

B = char(A)

Description

B = char(A) converts the categorical array A to a 2-D character matrix. char does not preserve the shape of A. B contains numel(A) rows, and each row of B contains the categorical level label for the corresponding element of A(:).

See Also

cellstr, getlabels

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS