Main Content
mergecats
Merge categories in categorical array
Description
B = mergecats(
merges
two or more categories of a categorical array into one category. By default,
A
,oldcats
)mergecats
merges all the categories listed in
oldcats
into a new category with the same name as
oldcats(1)
. If an element of A
belongs to
a category listed in oldcats
, then the corresponding element of
B
belongs to oldcats(1)
.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2013b