I need a help in Full factorial problem!

2 visualizaciones (últimos 30 días)
Raj Shankar
Raj Shankar el 14 de Feb. de 2013
I have a data with 12 columns and each with 40 rows. I want the sum of all the combinations of all rows in first column with the other columns. Likewise all other columns also (a full factorial). I have done it.
But now what I want to do is, if I select one of the sum values or give in a gui text box, like 100, then it should give me the values that added up to make the sum 100.
How should I do this. Someone please help me.

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Feb. de 2013
Please research "knapsack problems". They are not easy to solve in polynomial time.

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by