| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
Convert categorical array to character array
B = char(A)
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(:).
![]() | cellstr (categorical) | chi2cdf | ![]() |

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 |