How to control the randomness of algorithm

조회 수: 1 (최근 30일)
shane watson
shane watson 2019년 9월 19일
댓글: shane watson 2019년 10월 7일
Currently, I'm working on algorithm (optimization), as such GA, AC are generating random values therefore, everytime when I see the results its different from the previous, is there any way to controll the randomness and I can get same reults as I run simulations.

채택된 답변

Steven Lord
Steven Lord 2019년 9월 19일
See the three topics in the "Control Random Number Generation" section on this documentation page.
  댓글 수: 4
Stephen23
Stephen23 2019년 9월 20일
편집: Stephen23 2019년 9월 20일
" it doesnot show any controlling factor of the the aglorithm..."
Read the three linked pages in the "Control Random Number Generation" section, exactly as Steven Lord wrote. Here is that section of the page that Steven Lord referred you to:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by