Hi everyone! I would like to compute only a limited number of combination of a given vector's elements… how could I do so? I'm using combnk, but it computes ALL possible combinations and it takes too much RAM (more then 16, that is my limit), so matlab (legitimately) complains. Some of you has any suggestions?
MATLAB: How to define the number of combination of elements that I want to be computed
combinationscombnk
Best Answer