image thumbnail

updated 3 years ago

Unsorted Set Operations by Don Vaughn

Unsorted versions of setdiff, intersect, union, and setdiff (unsorted, sets, set operations)

d_uIntersect(A,B)

d_uIntersect(A,B)

d_uSetdiff(a,b)

image thumbnail

updated 4 years ago

Set functions with multiple inputs by Oleg Komarov

Intersectm, ismemberm, setdiffm, setxorm, unionm with multiple inputs. Ex: intersectm(a,b,c,…). (intersect, ismember, setdiff)

EXAMPLES

intersectm(varargin)

ismemberm(varargin)

image thumbnail

updated 5 years ago

multisetdiff by Ben Petschel

like setdiff, but any repeated elements of A are removed only once for each time they occur in B (setdiff, multisetdiff, multiset)

[c,aind]=multisetdiff(a,b,rowflag)

image thumbnail

updated 5 years ago

CStrAinBP by Jan Simon

Overlapping elements of 2 cell strings. 10-20 times faster than INTERSECT/ISMEMBER/SETDIFF. (string, cell string, comparison)

CStrAinBP(A, B, CaseSensitive)

TestCStrAinBP(doSpeed)

Contact us