基本信息
源码名称:MATLAB通信仿真试验
源码大小:5.06KB
文件格式:.zip
开发语言:MATLAB
更新时间:2019-09-15
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍
模拟幅度调制系统实验 数字信号的基带传输实验 载波调制数字系统实验 模拟信号数字传输实验

%低通抽样定理,filename:dtchy.m
fs=1.5;
dt=1/fs*0.01;
t=0:dt:10; 
xt=sin(2*pi*t) 0.5*cos(4*pi*t);
      [f,xf]=T2F(t,xt);
      %抽样信号,抽样速率为4Hz
      
      sdt=1/fs;
      t1=0:sdt:10;
      st=sin(2*pi*t1) 0.5*cos(4*pi*t1);
      [f1,sf]=T2F(t1,st);
      %恢复原始信号
      t2=-50:dt:50;
      gt=sinc(fs*t2);
      stt=sigexpand(st,sdt/dt);
      xt_t=conv(stt,gt);
 
      figure(1)
      subplot(311);
      plot(t,xt);title('原始信号');
      subplot(312);
      stem(t1,st);title('抽样信号');
      subplot(313);
      t3=-50:dt:60 sdt-dt;
      plot(t3,xt_t);title('抽样信号恢复');
      axis([0 10 -4 4])
      figure(2)
      subplot(211);
      plot(f,abs(xf));
     axis([-2.5 2.5 0 6]);
      subplot(212);
      plot(f1,abs(sf));