LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

permutation combination

I am looking for a solution to get all possible number combinations out of an bigger amount of numbers.

For example: i have numbers from 1 till 30 and now i want to get all combinations just by taking 5 numbers.

I did find some part solutions here in the discussion forum but all of these just do it this way: you have 5 numbers and get all possible combinations of these five.

Is there anyone who can help me out with a solution?

Thx

0 Kudos
Message 1 of 4
(3,008 Views)

That is generally just a similar equation using factorials and division.

 

http://www.lmgtfy.com/?q=permutations+adn+combinations

0 Kudos
Message 2 of 4
(2,981 Views)

Of course I searched for it ... and even in google!

BUT i can't get on the right way...

0 Kudos
Message 3 of 4
(2,971 Views)

What does "can't get on the right way" mean?

 

Calculating the number of permutation and/or combinations are basic math equations.

 

You just need to program them.

 

If you have already tried something and it is not working, then post your code, tell us how it isn't working correctly, and then we might be able to help you with it.

 

Is this homework?

0 Kudos
Message 4 of 4
(2,968 Views)