Maximum number of combinations

1 次查看(过去 30 天)
Joel Schelander
Joel Schelander 2021-4-1
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)"

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by