Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Possible combination of specific size

  1. Apr 19, 2010 #1
    I have list of numbers like
    3100002
    11200002
    11200011
    12010011
    12010020
    20110002
    20110101
    21001020
    21001110
    30000300
    100300020
    .
    .
    .
    .

    I need all possible combinations of specific size depending on some conditions.
    size of combination can vary from 3 to 25.

    I am doing it with nested for loop but its time consuming as number of inner loop increases.

    I need some code help related to this problem.
    Code help can be for
    Matlab
    Mathematica
    C
    Java

    Plz guide.....
     
  2. jcsd
  3. Apr 26, 2010 #2
    is there any expert to answer this..................
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook