Variable x at each generation
조회 수: 4 (최근 30일)
이전 댓글 표시
While optimization through GA, how to get variable value at each generation? Say If I am doing for y=x^2-2x+78, I am getting final x value. I want to get x value at each generations?
댓글 수: 0
답변 (1개)
Alan Weiss
2014년 5월 7일
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 3
Alan Weiss
2014년 5월 7일
You can write an output function along these lines. Be careful, GA uses a slightly different syntax for its output functions; refer to my previous link.
Alan Weiss
MATLAB mathematical toolbox documentation
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!