when applicat the genetic algorithm in matlab there is two type of crossover
the first type is
and the second is
Tow types is using in real genetic algorithm ,what is the difference between them? When we use the first method and when we use the second?