Random seed: Genetic algorithm
16 次查看(过去 30 天)
显示 更早的评论
Hi, I'm doing a project dealing with Evolutionary programming. I'm on R2013a, using the function "rand" for getting my random numbers. While I was doing it on my personal computer, the results showed are always different, however when I moved to my computer lab in school to use multiple computers at once to quicken the process of getting results, all the results that appear were exactly the same. So I'm thinking something is wrong with the seeding of the random number, is there anyway to fix it so that it will generate different random numbers?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!