?? tiaozhi.m
字號:
n=0:0.1:10;
x=sin(10*n);
y=n.^2;
z=x.*y;
subplot(311);stem(x);hold on;plot(x,'r-');ylabel('輸入x');grid;
subplot(312);stem(y);hold on;plot(y,'r-');ylabel('窗口y');grid;
subplot(313);stem(z);hold on;plot(z,'r-');ylabel('輸出保留部分z');grid;
hold off;
figure;
subplot(311);plot(x,'r-');ylabel('輸入x');grid;
subplot(312);plot(y,'r-');ylabel('窗口y');grid;
pause;
subplot(313);plot(z,'r-');ylabel('輸出保留部分z');hold on;plot(y,'b-');hold on;plot(-y,'b-');grid;
hold off;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -