Random seed: Genetic algorithm

조회 수: 13 (최근 30일)
Aaron Mok
Aaron Mok 2017년 3월 16일
댓글: Aaron Mok 2017년 3월 16일
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?

답변 (1개)

KSSV
KSSV 2017년 3월 16일
  댓글 수: 1
Aaron Mok
Aaron Mok 2017년 3월 16일
Can you elaborate more on it? Ive read it before this, but Im still not too sure how it will help me.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by