MATLAB Answers

0

Simple Question, Please Answer

Asked by Antoni Ho on 24 Jan 2019
Latest activity Commented on by Antoni Ho on 24 Jan 2019
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 : )

  0 Comments

Sign in to comment.

Tags

1 Answer