Matlab Bingo Game card
21 ビュー (過去 30 日間)
古いコメントを表示
Karanpreet Singh
2019 年 11 月 27 日
コメント済み: Karanpreet Singh
2019 年 11 月 30 日
How to create a bingo card in matlab?
need Code...
3 件のコメント
Image Analyst
2019 年 11 月 27 日
Nice, Karanpreet, but why not put your answer below in the official "Answers" section so you can get credit for it if he "Accepts" your answer?
採用された回答
Steven Lord
2019 年 11 月 27 日
randperm accepts a scalar (just one number) as its first input.
You could generate a set of random numbers from 1 to 15 and use those to select from a vector of allowed values for each letter using indexing. Another approach would be to figure out how to map numbers from 1 to 15 into the set of allowed values for a letter (61 to 75 for O, as one example.)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!