I am new to GA and there is something that not clear to me. I want to generate a population of k chromosomes with each chromosome length equal to Nt. Each gene in each chromosome is randomly either a '1' or '0'. For every '1' found in a chromosome i want to assign a random number between 1 and 15 for that index position. I need help generating this population.
MATLAB: Need help generating GA population
chromosomesgapopulation
Related Question
- Find zeros in one variable and mark it in another one
- How to find indices that fulfil a certain criteria
- How can i access elements of popup menu and use it in Push Button callbacks
- I have a column array and i want to subtract each row by the first row and save.please help me in doing this
- How do i compare cell array values and replace with string of code letters
Best Answer