Random order, but equally appearance

2 vues (au cours des 30 derniers jours)
B
B le 9 Avr 2019
Réponse apportée : Adam le 9 Avr 2019
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.

Réponse acceptée

Adam
Adam le 9 Avr 2019

Plus de réponses (0)

Catégories

En savoir plus sur Random Number Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by