Simple Question, Please Answer

1 回表示 (過去 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 日
  1 件のコメント
Antoni Ho
Antoni Ho 2019 年 1 月 24 日
thank you man

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by