Why is the "state" important?

6 ビュー (過去 30 日間)
Mark
Mark 2012 年 7 月 18 日
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 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by