Matlab函数调用实现 调用GA函数求解见ga_eg2.m function ga_eg2 A = [1 1;-1 2; 2 1]; b = [2; 2; 3]; lb = zeros(2,1; [x,fval,exitflag] = ga@lincontest6,2,A,b,[],[],lb; mesh_lincontest6; hold on; plot3(x(1,x(2,fval'r; f