image thumbnail

updated almost 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 almost 8 years ago

Picking elements from a set by Stefan Stoll

Gives all possibilities of picking k elements from a set of N with/without order/repetition. (matrices, permutation, combination)

pick(V,k,Type)

Contact us