Author Topic: sum of numbers to specific total  (Read 587 times)

Offline imdadullah

  • Newbie
  • *
  • Posts: 3
  • Matlab Forum
    • View Profile
sum of numbers to specific total
« on: April 12, 2010, 03:11:15 PM »
I have a series of numbers like
01110101
01001011
01110101
10101101
01020301
30211000
.
.
.
There are lot of numbers with different combinations.
I need a code that find the possible combinations from this series (array) that sum to specific total. for example

I need 3333333 in total by different sets like
01110110
02101110
00122113
these three set sum to 3333333

Please help and guide to solve this problem.......

Offline imdadullah

  • Newbie
  • *
  • Posts: 3
  • Matlab Forum
    • View Profile
Re: sum of numbers to specific total
« Reply #1 on: May 21, 2010, 03:05:32 PM »
is there any expert of matlab for the problem mentioned above...........

Matlab and SimuLink Development Forum

Re: sum of numbers to specific total
« Reply #1 on: May 21, 2010, 03:05:32 PM »