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.

采纳的回答

Walter Roberson
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
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 CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by