Mercurial > hg > trimatlab
view randomise.m @ 11:0e0f2805ef9c
Added new mechanism for checking Markov chains for uniqueness of stationary distribution;
new supporting files and new parameters to mt_init (see CHANGES).
Some functions require greater Matlab library, not included.
author | samer |
---|---|
date | Sun, 26 Feb 2012 23:11:10 +0000 |
parents | bce0bd672b47 |
children |
line wrap: on
line source
function s=randomise % randomise - get entropy from time and reset random number generators m=[5000,700000,1000000,1000000,1000000,10000000]; rand('state',sum(m.*clock)); randn('state',sum(m.*clock)); if nargout>0, s=getrndstate; end