MATLAB: How to do to let the value of ‘x’ in open and subsequently use a range of the x-value to find the minimum value of ‘z’ using GA.

optimization ga

x=[];
y=4*x+5;
z=y.^2+2;

Best Answer

Alan Weiss
MATLAB mathematical toolbox documentation