How to set the variables of genetic algorithm toolbox changing 1 or 0?
4 views (last 30 days)
It would be much appropriated that if anybody can tell me how to let the variables changing 1 or 0 by using genetic algorithm toolbox.
x = ga(fitnessfcn,nvars)
how to make the output 'x' change either 1 or 0.