time | Calls | line |
---|
| | 1 | function l = categories(a)
|
| | 2 | %CATEGORIES Get a list of a categorical array's categories.
|
| | 3 | % S = CATEGORIES(A) returns the list of categories in the categorical array A.
|
| | 4 | % S is a cell array of character vectors.
|
| | 5 | %
|
| | 6 | % S includes all categories in A, even those not appearing in any element of
|
| | 7 | % A. To see the values actually present in elements of A, use UNIQUE.
|
| | 8 | %
|
| | 9 | % See also ADDCATS, REMOVECATS, ISCATEGORY, MERGECATS, RENAMECATS, REORDERCATS, SETCATS, UNIQUE.
|
| | 10 |
|
| | 11 | % Copyright 2013-2016 The MathWorks, Inc.
|
| | 12 |
|
< 0.001 | 8 | 13 | l = a.categoryNames;
|
Other subfunctions in this file are not included in this listing.