Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

isequal - Class: categorical

True if categorical arrays are equal

Syntax

TF = isequal(A,B)
TF = isequal(A,B,C,...)

Description

TF = isequal(A,B) is true (1) if the categorical arrays A and B are the same class, have the same size and the same sets of levels, and contain the same values, and false (0) otherwise.

TF = isequal(A,B,C,...) is true (1) if all the input arguments are equal.

Elements with undefined levels are not considered equal to each other.

See Also

getlabels

  


Recommended Products

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