lundi 2 novembre 2015

How to find seed sequence using Mersenne Twister generator

I was trying to find the next seed of the random PN sequence using mersenne twister generator. my code is below-

N=10;
R=5; 

A(1:N,1:N) = eye(N); 
seed=2; 
rng(seed,'twister');
B = round((rand(25,50)));

C=[A;B];

I am initializing first seed=2 but I want to know what the next seed sequence? I do not know what should be the code for finding the next seed?

I was reading some papers but cannot find my solution. Need expert solution regarding this issue.




Aucun commentaire:

Enregistrer un commentaire