필터 지우기
필터 지우기

Why is the "state" important?

조회 수: 2 (최근 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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by