While optimization through GA, how to get variable value at each generation? Say If I am doing for y=x^2-2x+75, I am getting final x value. I want to get x value at each generations?

3 ビュー (過去 30 日間)
Instead of Final x value , I wnat to get value of x at each generation. I tried with enable iterative display mode, it provides f-count, best fitness, but not value of x. I am not able to write the output function. Please help me, how to write output function to get value of x at each generation or through any other methods.

回答 (0 件)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by