Wednesday, September 25, 2013

MATLAB startup.m

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