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

1 次查看(过去 30 天)
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?

采纳的回答

Srikanth Sedimbi
Srikanth Sedimbi 2018-1-30
Please check the following link from fileexchange

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by