Could anyone how to find all possible combinations of number 6 using rng.

Could anyone how to find all possible combinations of number 6 using rng.

4 Comments

It is impossible to answer this question. Finding all possible combinations by such a random method like rng is a very bad idea. There are very simple method to calculate combinations in Matlab. It would be a shot in your knee to try to do this randomly. In addition you forgot to mention the details: All combinations with 6 elements, or with 1 to 6 elements? Does the order matter or not?
all combinations with 1 to 6 elements and the combinations need not be repeated again.Is there any other way to find all combinations without repetition.Please help me on this.
ok.but the combinations of numbers get repeated again.But I actually need is all combinations without repetition of numbers.

Answers (0)

This question is closed.

Tags

Asked:

on 2 May 2018

Commented:

on 3 May 2018

Community Treasure Hunt

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

Start Hunting!