How to control the randomness of algorithm

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by