Random order, but equally appearance

2 ビュー (過去 30 日間)
B
B 2019 年 4 月 9 日
回答済み: Adam 2019 年 4 月 9 日
If i want a random order of numbers, you can use randi. But how can i get that every number will be equally appear? So for the numbers 1 till 4, a random order but every number at least one time.

採用された回答

Adam
Adam 2019 年 4 月 9 日
doc randperm

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by