intersect
(Not Recommended) Set intersection for dataset array observations
The dataset data type is not recommended. To work with heterogeneous data,
        use the MATLAB®
        table data type instead. See MATLAB
        table documentation for more information.
Syntax
Description
C = intersect(A,B,vars)vars, with repetitions removed. The observations in the
        dataset array C are sorted by those variables.
The values for variables not specified in vars for each observation
        in C are taken from the corresponding observations in
          A. If there are multiple observations in A that
        correspond to an observation in C, then those values are taken from the
        first occurrence.
Input Arguments
Output Arguments
Version History
Introduced in R2012b