Fantasy football draft order

This is not for school or anything just trying to learn how to do more stuff. Im trying to create a fantasy football random name generator. I would like to import an excel file with the names of the people in my league and have matlab randomly pick one person at a time. It would also be cool if i could run it once and it would randomly pick names but not repeating names. I understand if nobody wants to help since its for a dumb reason but id really appreciate any help because I am still new at matlab and could use what i learn here in class. Thanks for any help

1 Comment

Hey Kevin Im doing the same thing can i see what u have done so far?

Sign in to comment.

 Accepted Answer

Walter Roberson
Walter Roberson on 10 Oct 2019
Hint: randperm(number of people, number to pick in total)
The in total is because you might only be populating some of the teams or you might be wanting to simulate people in the draft who do not get chosen.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!