I have a matlab code which has a bunch of random numbers such as: unifrnd(0,1), normrnd(mu,sigma), this sort of functions get repeated over and over ag
unifrnd(0,1)
normrnd(mu,sigma)
According to the documentation,
rng(seed);
sets the seed of the random number generator.