Main Content
renamecats
Rename categories in categorical array
Description
Examples
Input Arguments
Tips
Renaming categories does not change their positions in
categories(B)
. Usereordercats
to change the category ordering. For example, you can useB = reordercats(B,sort(categories(B)))
to put the categories in alphabetical order.
Extended Capabilities
Version History
Introduced in R2013b
See Also
categories
| addcats
| removecats
| iscategory
| mergecats
| reordercats
| setcats