plot function in GA toolbox (change the sign of fitness value)
2 次查看(过去 30 天)
显示 更早的评论
Hi every body
in GA optimazation toolbox I want to maxzmiztion my objective function so i minimize the negative of the function
in data entry box labeled Fitness function i have entered
@(x)-mohfun(x)
my problem is in plot function when i chose best fitness as shwon in photo fitness value is negative
can i make it positve whith the same result
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/427943/image.jpeg)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fit Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!