view randomise.m @ 17:4e61b949e73d

Eigenvalue/vector plot now sets colormap.
author samer
date Tue, 28 Feb 2012 22:49:23 +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