how to create random combination?
古いコメントを表示
How to create random combination of three integer of length 21. for example ans=1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 and next time answer should be in random order.
1 件のコメント
the cyclist
2014 年 2 月 23 日
You haven't been clear or complete enough in your description. I can't guess what you want. Please add more details.
回答 (1 件)
Azzi Abdelmalek
2014 年 2 月 23 日
repmat(randperm(3),1,7)
カテゴリ
ヘルプ センター および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!