diff --git a/姚安欣/fun1.m b/姚安欣/fun1.m new file mode 100644 index 0000000..459556a --- /dev/null +++ b/姚安欣/fun1.m @@ -0,0 +1,3 @@ +function f=fun1(x) + f=x(1)*x(1)+x(2)*x(2)-x(1)*x(2)-2*x(1)-5*x(2); +end