fitvalue 只有20个元素,程序却试图访问第21个元素。也就是这一句 if(ms(newin))<fitvalue(fitin) 访问到了第21个元素。You know
遗传算法出现问题。
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!