8.2.6.7 categorical.iscategory ¶
- Method:
out =
iscategory (obj, catnames)
¶
-
Test whether input is a category on a categorical array.
catnames is a cellstr listing the category names to check against
obj.
Returns a logical array the same size as catnames.