Simple Question, Please Answer

조회 수: 2 (최근 30일)
Antoni Ho
Antoni Ho 2019년 1월 24일
댓글: Antoni Ho 2019년 1월 24일
hi i'm new and learning about genetic algorithm sample codes
this is part of the code
for ii=1:popsize
for jj=1:nd
g(ii,jj)=rand*(U-L)+L;
end
end
can anyone explain me, how to read that code?
and what is
for x = 1:n
(i confused with the : )

채택된 답변

per isakson
per isakson 2019년 1월 24일
편집: per isakson 2019년 1월 24일

추가 답변 (0개)

카테고리

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