MATLAB Answers

Random order, but equally appearance

1 view (last 30 days)
B
B on 9 Apr 2019
Answered: Adam on 9 Apr 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.

  0 Comments

Sign in to comment.

Accepted Answer

Adam
Adam on 9 Apr 2019
doc randperm

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by