Dear reader,
I want to generate random numbers that are repeatable. To this end I use rng(seed).
Is there any rule on how to select the seed? I mean that I could take repeatable numbers using either seed=77, or seed=123123, but I do not know the reason why to select/reject the one or the other value of seed.
I have also an additional question, related to rng.
In all the examples I have seen with rng, only the rand, randi, and randn are used. Can I use instead exprnd?
Thank you in advance.
Best Answer