Hi. Is 12345 the only seed to generate weibull random numbers with the function wblrnd?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Guy YAKANA
am 28 Sep. 2021
Kommentiert: Walter Roberson
am 5 Okt. 2021
When using Entity generation block in simulink, the default seed is 12345, provided for intergeneration time action (by MATLAB ACTION) for random number with weibull or exponential distribution.
Why 12345 instead of a seed 0 or 1? What justifies this choice in simulink? Is-it possible to use others seeds with weibull distribution for different replications in simulink? Thanks a lot.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 28 Sep. 2021
Use any seed you want that is an integer between 1 and 4294967295 (inclusive)
rng seed 0 is not permitted.
9 Kommentare
Walter Roberson
am 5 Okt. 2021
No. That is why I multiplied out the 27*4 = 108 -- 27 table entries, 4 replications = 108 total cases that they explicitly state. sometimes when people talk about "4 replications" they mean "1 original and 4 more as well", and if that were the case then the total would be divisible by 5. But 108 is not divisible by 5, so 4 is the total number not "1 and 4 more".
So I do not currently understand why they talk about 5 random number generators.
Weitere Antworten (0)
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!