Info

この質問は閉じられています。 編集または回答するには再度開いてください。

could anyone help me how to fix this issue.

1 回表示 (過去 30 日間)
Prabha Kumaresan
Prabha Kumaresan 2018 年 3 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Guillaume
Guillaume 2018 年 3 月 20 日
編集済み: Guillaume 2018 年 3 月 20 日
"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 2018 年 3 月 20 日
@Guillaume, I doubt this is a homework question. Prabha Kumaresan has posted an impressive number of questions about code very similar to this already.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by