Initial commit

This commit is contained in:
2025-10-10 17:29:33 +08:00
commit 49047b316d
47 changed files with 323 additions and 0 deletions

10
ifelse2.m Normal file
View File

@@ -0,0 +1,10 @@
c = input ('','s');
if c >= 'A' && c <= 'Z'
disp(lower(c));
elseif c >= 'a' && c <= 'z'
disp(upper(c));
elseif c >='0' && c <='9'
disp(str2double(c)^2);
else
disp(c);
end