how to find total combination of 5 elements in composition?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Majid Vaghari
el 20 de En. de 2022
Comentada: Majid Vaghari
el 20 de En. de 2022
I’m trying to find to total combination of numbers for a quinary alloys that contains 5 elements. The composition of each element can change between 1at% to 96at%.
1≤X1≤96
1≤X2≤96
1≤X3≤96
1≤X4≤96
1≤X5≤96
X1+ X2+X3+X4+ X5=100
For example one easy solution is:1-1-1-1-96
As you know the sum of composition should be 100%.
How can I find the total combination with matlab code?
2 comentarios
Rik
el 20 de En. de 2022
Do you need to generate every combination, or do you just want the total count?
Respuesta aceptada
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!