📄 ex_1.m
字号:
clear all;
A=[1 2 3 4 5];
B=[6 7 8 9 10];
C=A+B
D=A-B
E=A.*B
F=A./B
G=A.^B
figure(1)
subplot(2,2,1),stem(A),title('A')
subplot(2,2,2),stem(B),title('B')
subplot(2,2,3),stem(C),title('C')
subplot(2,2,4),stem(D),title('D')
figure(2)
subplot(3,1,1),stem(E),title('E')
subplot(3,1,2),stem(F),title('F')
subplot(3,1,3),stem(G),title('G')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -