ex_1.m
来自「信号与系统分析以matlab实现」· M 代码 · 共 17 行
M
17 行
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 + =
减小字号Ctrl + -
显示快捷键?