I am running two different codes which generate the same amount of random numbers (thousands of them). I was trying to keep the same path of random numbers on both codes using:
rng('default')
rng(1);
However, I am almost sure that the random numbers being generated are different. Can it be due to the fact that I am using a parfor
loop?
Thanks
Aucun commentaire:
Enregistrer un commentaire