How can I define the number of combination of elements that I want to be computed?

2 views (last 30 days)
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?

Accepted Answer

Srikanth Sedimbi
Srikanth Sedimbi on 30 Jan 2018
Please check the following link from fileexchange

More Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!