Uniformly distributed pseudo-random numbers
Show older comments
I am attempting to randomize a set of integers (1:12) and there are twelve of each number, for a total of 144 numbers. Basically I am trying to figure out if there is a way to randomize the numbers so that each number follows a previous number the same amount of times as other numbers (i this case 12 would follow 11 once, 12 would follow 10 once, 3 would follow 12 once) and so on.
Is there a somewhat easy way to go about this issue in matlab?
Accepted Answer
More Answers (0)
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!