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?

2 vues (au cours des 30 derniers jours)
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.

Réponses (0)

Catégories

En savoir plus sur Problem-Based Optimization Setup dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by