Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

could anyone help me how to fix this issue.

1 Ansicht (letzte 30 Tage)
Prabha Kumaresan
Prabha Kumaresan am 20 Mär. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
If there are 10 users (say user1,user2 and goes on till user10) present how to group the users under the following conditions ->2 users should be present in each group. ->users present in one group should not be present in other group. and the possible number of combinations they can form.
  7 Kommentare
Guillaume
Guillaume am 20 Mär. 2018
Bearbeitet: Guillaume am 20 Mär. 2018
"This was the code i need to fix it"
That doesn't like code that even attempt at doing what is being ask. The fix here is to start from scratch.
The whole purpose of this sort of homework exercice is to teach you how to design an algorithm that solve a particular problem. Going through the thought process required to solve the problem is the most important part of that task. If we give you the algorithm, then you will not have learnt that process. That would be a great disservice to you.
Once you have figured out the algorithm coding it is only a 5 minutes job.
Rik
Rik am 20 Mär. 2018
@Guillaume, I doubt this is a homework question. Prabha Kumaresan has posted an impressive number of questions about code very similar to this already.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by