How can i plot a graph of one of the parameters vs no. of iterations in Genetic algorithm optimization technique??
이전 댓글 표시
I am using GA toolbox...i now need to plot a graph which will show one of the parameter values for each iteration vs no. Iterations...can anyone help me out??
답변 (1개)
Alan Weiss
2015년 9월 2일
0 개 추천
Use a plot function. If none of the built-in functions are suitable, then write a custom plot function in the appropriate syntax.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 2
Ifat Rahman
2015년 9월 2일
Alan Weiss
2015년 9월 2일
Sorry, I should have said before that you can just edit one of the existing plot functions such as gaplotbestindiv or gaplotbestf, save it with a different name, and use it as a plot function.
Remember, ga has a population, so at each iteration (generation) there are many individuals. You will have to decide which, if any, to plot.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!