Assign placement choices to student identifying their top three

1 回表示 (過去 30 日間)
Callum Swann
Callum Swann 2021 年 2 月 22 日
回答済み: Steven Lord 2021 年 2 月 22 日
I have a table of 20 students who are to select which placement they want to next. There are 30 placements in total, so 10 will be going un filled. The students have picked their 1st, 2nd, and 3rd choice options, so there is some overlap (multiple student have the same placement as their first choice etc..). I have attached an image to show what i mean.
Can I run a matlab script on the data to help assign which student get which placements, so that as many as possible get their 1st choices? if so, what would it look like?
or is there a way to do this in excel?

回答 (1 件)

Steven Lord
Steven Lord 2021 年 2 月 22 日
See the matchpairs function.

カテゴリ

Help Center および File ExchangeNumeric Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by