Code covered by the BSD License
function f = myfun0(x,a1) f = x(1)^2 + a1*x(2)^2;
Contact us at files@mathworks.com