What does the "seed" parameter in Uniform Random Number generator change in the block's behaviour?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ion
am 10 Dez. 2013
Beantwortet: Ion
am 11 Dez. 2013
Hello,
I don´t quite understand what does the "seed" parameter in Uniform Random Number generator change in block´s behaviour?
The help says:
" Specify the starting seed for the random number generator. The default is 0. The seed must be 0 or a positive integer. Output is repeatable for a given seed.".
Could someone tell me in other words what does this parameter do, because I don´t catch the idea of it...?
Thank you for any kind of help!
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 10 Dez. 2013
Every time you run your simulink model, for a constant seed, the block generate the same sequence of random numbers. If you want to get different sequences, change the seed
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!