8.2.54.14 table.ismember

Method: [tf, loc] = ismember (A, B)

Set membership.

Finds rows in A that are members of B.

Returns: tf - A logical vector indicating whether each A(i,:) was present in B. loc - Indexes into B of rows that were found.