gusucode.com > 使用Matlab在优化方面的程序项目 > 暂时没用的例子/myfun0.m

    function f = myfun0(x,a)
f = x(1)^2 + a*x(2)^2;