Why is the "state" important?

I am going through a code which uses 'state' in a line. What does 'state' do, and could it be of importance? I read that it "resets the generator to its 100th state", but what does this mean?
rand('state',100)

 Akzeptierte Antwort

per isakson
per isakson am 18 Jul. 2012
Bearbeitet: per isakson am 18 Jul. 2012

0 Stimmen

Weitere Antworten (0)

Kategorien

Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by