Mercurial > hg > trimatlab
view private/randomise.m @ 7:917d5d11aa48
mt_show_transmat now computes information measures if not given.
author | samer |
---|---|
date | Wed, 08 Feb 2012 22:24:06 +0000 |
parents | 0f16c069423b |
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