i have matrix matrix2D= '00000001' '00000011' '00000111' '00000100' '00000101' '00000100' '00000001' '00000010' '00000001' '00000001' '00000100' '00000011' '00000111' '00000100' '00000001' '
1 次查看(过去 30 天)
显示 更早的评论
in matrix2D each element is in binary form
a b c
1 1 7,
3 2 4,
7 1 1,
4 1 4,
5 4 0,
4 3 2.
of this numbers and i want to generate another number from this binary format number and a+b+c=9 now i want to genrate another number which follow a+b+c=9. like 000000 01 and 000001 11 so new generated code is taken as two point crossover and new genrated number is 00000011 and 00000101 now take all entry as two point and must follow a+b+C=9
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!