⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tiaozhi.m

📁 数字信号处理技术 Digital Signal Processing
💻 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 + -