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)

 채택된 답변

per isakson
per isakson 2012년 7월 18일
편집: per isakson 2012년 7월 18일

0 개 추천

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Random Number Generation에 대해 자세히 알아보기

질문:

2012년 7월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by