Shuffling arrays question
|
03-01-2015, 06:48 PM
(This post was last modified: 03-01-2015 10:17 PM by Namir.)
Post: #5
|
|||
|
|||
RE: Shuffling arrays question
I am working on an array-shuffling algorithm that divides the array into ten "buckets". The method then merges two neighboring or distant buckets, shuffles them, and then copy the shuffled elements back to their original buckets. So far, I am able to get more randomness than the algorithm I posted earlier.
Here is the Matlab code. You can find this code integrated with a more comprehensive Matlab function in the part 3 article in my web site. Code: function x=unsort(x) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Shuffling arrays question - Namir - 02-28-2015, 10:42 PM
RE: Shuffling arrays question - Mark Hardman - 02-28-2015, 11:55 PM
RE: Shuffling arrays question - Paul Dale - 03-01-2015, 12:42 AM
RE: Shuffling arrays question - Namir - 03-01-2015, 01:10 PM
RE: Shuffling arrays question - Namir - 03-01-2015 06:48 PM
RE: Shuffling arrays question - BruceH - 03-07-2015, 05:56 AM
|
User(s) browsing this thread: 1 Guest(s)