这是个免疫算法 最后出现索引超出矩阵维度。
出错 test (line 25)if max( max(dist( city_coordinate(code,:)') ) )>3000
出错 popinit (line 11) flag=test(pop(i,:));
出错 main (line 19)individuals.chrom = popinit(M,length); 我就是换了个城市维度位置 急!!