objFcn = @(x) - sim(net,x);[xOpt,Fval] = ga(objFcn,3);
Output of my GA is given as below:
My Fval = -30.5182 & xOpt = [0.1386 0.0839 0.2135 0.5449 ]
Does it mean that for my experiment the GA optimized input values are given by x and its corresponding output is Fval. My output cannot be -ve and the input values are also very low.
Best Answer