Filter löschen
Filter löschen

Maximum number of combinations

1 Ansicht (letzte 30 Tage)
Joel Schelander
Joel Schelander am 1 Apr. 2021
I have 36 households and 429 vehicles.
Of the households 15 can have two vehicles, while the others can only have one vehicle.
I iterate and combine households: 2 at a time, 3 at a time... 36.
What is the maximum number of combinations of households and vehicles?
Answer: "The maximum number of combinations is reached when combining X households with 429 vehicles: (NumberofCombinations)"

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by