How to control the randomness of algorithm

2 Ansichten (letzte 30 Tage)
shane watson
shane watson am 19 Sep. 2019
Kommentiert: shane watson am 7 Okt. 2019
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.

Akzeptierte Antwort

Steven Lord
Steven Lord am 19 Sep. 2019
See the three topics in the "Control Random Number Generation" section on this documentation page.
  4 Kommentare
Stephen23
Stephen23 am 20 Sep. 2019
Bearbeitet: Stephen23 am 20 Sep. 2019
" 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:

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by