Random order, but equally appearance

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.

More Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Asked:

B
B
on 9 Apr 2019

Answered:

on 9 Apr 2019

Community Treasure Hunt

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

Start Hunting!