I would like to generate "truly" random variables in matlab, which is running in a cluster environment. The problem is that the random variables in matlab are being retrieved from a matrix, starting form a specific position (http://ift.tt/1KqKczW).
Every time that I start executing a program in matlab, the random values are always the same. To overcome this problem, the command rng('shuffle') could be used in order to start from a random position of the matrix (http://ift.tt/1Ma4ZVP).
However, even this command will give me the same results because the outcome of the 'shuffle' command (which is not clarified how it works) is always the same in cluster.
Any recommendation on how I can overcome this problem?
Aucun commentaire:
Enregistrer un commentaire