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

📄 dm07402.m

📁 the code of the book come form the book of marlix laboratory with the book of singal
💻 M
字号:
%dm07402 
%观察离散序列的时域运算
x1=[2,1,0,1,2];
n1=-2:2;
x2=1:6;
n2=0:5;
[x3,n3]=jxl(x1,x2,n1,n2);      %两序列相加
[x4,n4]=cxl(x1,x2,n1,n2);      %两序列相乘
subplot(2,2,1)
stem(n1,x1,'filled')
title('x1(n)')
xlabel('n')
subplot(2,2,2)
stem(n2,x2,'filled');
title('x2(n)')
xlabel('n')
subplot(2,2,3)
stem(n3,x3,'filled')
title('x1(n)+x2(n)')
xlabel('n')
subplot(2,2,4)
stem(n4,x4,'filled')
title('x1(n)*x2(n)')
xlabel('n')
set(gcf,'color','w')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -