the last commit for lab6 exercises and a2 exercises

This commit is contained in:
2025-12-09 19:26:41 +08:00
parent cfab7130bd
commit 477d4d1668
29 changed files with 188 additions and 4 deletions

13
b4_3.m Normal file
View File

@@ -0,0 +1,13 @@
% x,y
x=6
y=6
if (x>=0 && y>=0)
r=x+y
elseif (x>=0 && y<0)
r=x+y^2;
elseif (x<0 && y>=0)
r=x^2+y;
elseif (x<0 && y<0)
r=x^2+y^2;
end
disp(x)