ismember (Matlab function)
Data sets membership comparison
// a) AinB = ismember(A, B) // b) [AinB, loc] = ismember(A, B) // c) [rAinB, loc] = ismember(A, B, 'rows')
In addition, Scilab provides the number of occurrences, can provide the locations of last occurrences instead of the first ones, can process A and B column-wise, and can ignore the order of elements in each row/column to be detected (detection of permutations).
|Report an issue|
|<< islogical (Matlab function)||I||isnumeric (Matlab function) >>|