Simple Question, Please Answer

1 visualización (últimos 30 días)
Antoni Ho
Antoni Ho el 24 de En. de 2019
Comentada: Antoni Ho el 24 de En. de 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 : )

Respuesta aceptada

per isakson
per isakson el 24 de En. de 2019
Editada: per isakson el 24 de En. de 2019

Más respuestas (0)

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by