i would be using genetic Algorithm in matlab. I need to plot graph using solution obtained in each generation.
i did it but i am not getting graph

2 件のコメント

Walter Roberson
Walter Roberson 2019 年 12 月 27 日
You do not appear to be using Mathworks code. I suspect you might be using the File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/67435-the-genetic-algorithm-ga-selection-crossover-mutation-elitism?s_tid=prof_contriblnk
Walter Roberson
Walter Roberson 2019 年 12 月 27 日
If you are using the above code: The GeneticAlgorithm.m file there does define a variable g but it refers only to the current generation number; the code does not define any variable named u and none of the other files in that FEX contributions define a variable named u either.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Graph and Network Algorithms についてさらに検索

製品

リリース

R2019b

質問済み:

2019 年 12 月 27 日

コメント済み:

2019 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by