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)

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Random Number Generation en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Jul. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by