I have prepared code in matlab for genetic algorithm from toolbox for number of iteration (nit)
The function code is very long. In summary, the fitness function is
y = 0.01 to 1 with small increments of 0.005...
GA code is prepared from toolbox.. The code ends as below
H1 give function value and H2 gives unknowns for all iterations.
The code works perfectly fine when single value of y is taken for e.g. 0.01
Is it possible to apply a loop such that it automates small increment of 'y' and gives results of function and unknowns at end for different values of y ?