I have the following problem, I have three for loops, and I need to store the number of iterations that correspond to the second for loop, to show its total during the execution of the main loop. For example:
for i = 1:npop
for it = 1:iters
for l = 1:nc
In the first loop npop = 600, in the second iters = 100 and in the third nc = 600. If anyone has experience what I am doing is a genetic algorithm in which I want to show the number of objective function evaluations.
Thanks in advance.