Add these lines to your Matlab startup.m file for some amusement in life:
clc
s = RandStream('mt19937ar','Seed','shuffle');
RandStream.setGlobalStream(s);
disp('Why? Because...')
why
clear all
clc
s = RandStream('mt19937ar','Seed','shuffle');
RandStream.setGlobalStream(s);
disp('Why? Because...')
why
clear all
No comments:
Post a Comment