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

    function f=myfuntest(x)
      f=100.*(x(2)-x(1).^2).^2+(4.5543-x(1)).^2;