I'm grouping 42 students, so please tell me the solution.

1 Ansicht (letzte 30 Tage)
수민 최
수민 최 am 27 Okt. 2020
Beantwortet: Saurav Chaudhary am 30 Okt. 2020
Make 42 into seven groups of six. Repeat this five times and no one who can continue to be in the same group, and all 42 students should be the first people to meet each group.
I don't know about this code. Thank you very much for letting me know. ^^
  2 Kommentare
Rik
Rik am 27 Okt. 2020
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
Adam Danz
Adam Danz am 27 Okt. 2020
nchoosek would be a good starting point.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Saurav Chaudhary
Saurav Chaudhary am 30 Okt. 2020
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial ( https://www.mathworks.com/support/learn-with-matlab-tutorials.html ) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by