Simple Question, Please Answer

1 次查看(过去 30 天)
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