Hi. Is 12345 the only seed to generate weibull random numbers with the function wblrnd?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2021 年 9 月 28 日
Use any seed you want that is an integer between 1 and 4294967295 (inclusive)
rng seed 0 is not permitted.
9 件のコメント
Walter Roberson
2021 年 10 月 5 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!