image thumbnail

updated 1 year ago

NCHOOSECRIT (V1.0 feb 2013) by Jos (10584)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion (combinations, sets, subsets)

nchoosecrit(S, FUN)

image thumbnail

updated 4 years ago

NCHOOSE (v2.1 mar 2010) by Jos (10584)

return all combinations of the elements of a set (matrices, matrix, nchoosek)

nchoose(S)

image thumbnail

updated 5 years ago

NextVector toolbox by Ben Petschel

files for iterating over permutations, combinations, subsets and vectorized for/while loops (next, next vector, perms)

vout=nextchoose(v,w)

vout=nextfor(v,lo,hi,dx)

vout=nextperm(v)

image thumbnail

updated almost 6 years ago

nextcombi by Dan Stowell

Given a set of N items, iterate over all the combinations of size R (R<N) (combination, combinadic, combinatorics)

nextcombi.m

image thumbnail

updated 6 years ago

Partitions of an integer by John D'Errico

List all partitions of an integer (partitions, integer, partition)

partitions_demo

partitions(total_sum,candidate_set,max_count,fixed_count)

image thumbnail

updated almost 7 years ago

SubSets by H. Sh. G.

SubSets(m,n) returns all m dimension subsets of an n member set. (sets, subsets, member set)

S=subsets(m,n,k,a)

Contact us