About random number generators
显示 更早的评论
Hi everyboby
I want to create a program on simulink which use a random number box but I have seen that its output is repeated at each step of the simulation. So how can I change the seed of this program to get the good result.
I use actually matlab 2010a, and I tried rng bgut not working.
Thank you.
采纳的回答
更多回答(2 个)
Dishant Arora
2014-2-22
doc se_randomizeseeds
3 个评论
ahmed abrous
2014-2-22
Dishant Arora
2014-2-22
You need to stop and change the seed before every simulation
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!