From f42a2a6a733396dccca865d60480c8a8c30442a0 Mon Sep 17 00:00:00 2001 From: phzrjyvu9 <2026074240@qq.com> Date: Sun, 14 Jul 2024 14:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E7=BA=BF=E6=80=A7=E7=AE=80=E5=8D=95?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E7=9B=AE=E6=A0=87=E5=87=BD=E6=95=B0=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fun1.m | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 fun1.m diff --git a/fun1.m b/fun1.m new file mode 100644 index 0000000..7dfcb38 --- /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