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

📄 upsampex.m

📁 通信系统仿真原理与无线应用第三章全部程序
💻 M
字号:
%File:c3_upsampex.m
echo on
M=6;   %upsample factor
h=c3_lininterp(M);    %imp response of linear interpolator
t=0:10; %time vector
tu=0:60;  %upsampled time vector 
x=sin(2*pi*t/10);    %original samples
xu=c3_upsamp(x,M);    %upsampled sequence
subplot(4,1,1)
stem(t,x,'k')
ylabel('x')
subplot(4,1,2)
stem(tu,xu,'k')
ylabel('xu')
subplot(4,1,3)
stem(h,'k')
xi=conv(h,xu);
subplot(4,1,4)
stem(xi,'k')
ylabel('xi')

⌨️ 快捷键说明

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