Given two arrays A and B, determine whether B is subset of A.
Combine ismember with all. Function
ismember(B, A) will return an array with all elements set to true if, and only if, all elements in B are in A (which means B is a subset of A). Thus,
all(ismember(B, A)) = true iff B is a subset of A.