hi, i need to store the best cost value for all iteration.
my code is,
while(i<maxitr) i=i+1; // function calling if best_cost < best_cost1 && best_cost < best_cost2 best_cost= best_cost elseif best_cost1 < best_cost && best_cost1 < best_cost2 best_cost= best_cost1 else best_cost= best_cost2 end
THANKS IN ADVANCE
Best Answer