Random Number Generator
Show older comments
Hello All,
I have been charged with coming up with a way to raffle an iPad2 at a charity event. The raffle participants are all members of the non-profit with member id#'s. Instead of putting paper in a bowl I thought about using a random number generator to produce the winning member id. I thought that Mat-Lab would be a useful tool for doing this. Any thoughts??
Accepted Answer
More Answers (1)
Fangjun Jiang
on 1 Sep 2011
help randint help rand
round(100*rand(5,1))
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!