view private/randomise.m @ 8:e1534c7329e2

FIX: missing end
author samer
date Mon, 13 Feb 2012 11:21:15 +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