Set Operations:
The MATLAB has numerous built-in functions which perform set operations on vectors. These involve intersect, union, setdiff, unique, and setxor. All these functions can be helpful when working with data sets. In addition, there are two 'is' functions which work on the sets, 'ismember' and 'issorted'.