Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

rowsToSwap = [5 6 7]; child1 = pa2; child1(rowsToSwap) = pa1(rowsToSwap); child2 = pa1; child2(rowsToSwap) = pa2(rowsToSwap); make this process in for loop

1 view (last 30 days)
parent 1--> 0 0 0 0 1 1 0 0 parent 2--> 0 0 0 0 1 0 0 1 child 1--> 0 0 0 0 1 0 0 0 child 2--> 0 0 0 0 1 1 0 1 as like this process in for loop for child 1 & 2 than process for child 3 & 4 ...child 5 & 6 upto 18... (take random 8 digit binary for parent 3 to 18)

Answers (0)

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!