matlab简单分析信号调制解调

信号调制和解调

华中科技大学《数字信号分析理论实践》滤波器 学习总结记录

在这里插入图片描述

  • 幅值调制和解调 AM
    • ammod amdemod

在这里插入图片描述

Fs = 44100;
Fc = 400;
dt = 1.0/Fs;
T = 1;
N = T/dt;
t = linspace(0,T,N);
x1 = sin(2*pi*10*t)+1.3;
subplot(311)
plot(t,x1,'linewidth',2)
xlim([0 0.2])
y1 = ammod(x1,Fc,Fs);
subplot(312)
plot(t,y1,'linewidth',2)
xlim([0,0.3])
y2 = amdemod(y1,Fc,Fs);
subplot(313)
plot(t,y2,'linewidth',2)
xlim([0,0.2])	
  • 频率调制和解调 FM
    • fmmod fmdemod

在这里插入图片描述

Fs = 44100;
Fc = 400;
dt = 1.0/Fs;
T = 1;
N = T/dt;
t = linspace(0,T,N);
x1 = sin(2*pi*10*t)+1.3;
subplot(311)
plot(t,x1,'linewidth',2)
xlim([0 0.2])
y1 = fmmod(x1,Fc,Fs,200);
subplot(312)
plot(t,y1,'linewidth',2)
xlim([0,0.2])
y2 = fmdemod(y1,Fc,Fs,200);
subplot(313)
plot(t,y2,'linewidth',2)
xlim([0,0.2])
  • 相位调制和解调 PM
    • pmmod pmdemod

在这里插入图片描述

Fs = 100;
Fc = 10;
dt = 1.0/Fs;
T = 5;
N = T/dt;
dev = 3.14/2;
t = linspace(0,T,N);
x1 = square(2*pi*1*t);
subplot(311)
plot(t,x1,'linewidth',2)
y1 = pmmod(x1,Fc,Fs,dev);
subplot(312)
plot(t,y1,'linewidth',2)
y2 = pmdemod(y1,Fc,Fs,dev);
subplot(313)
plot(t,y2,'linewidth',2)
  • 希尔伯特变换进行包络检波 hilbert()
    在这里插入图片描述
Fs = 44100;
dt = 1.0/Fs;
T = 1;
N = T/dt;
t = linspace(0,T,N);
x = 1000*sin(2*pi*6000*t)+1000*sin(2*pi*6200*t);
subplot(211)
plot(t,x,'linewidth',2)
xlim([0,0.02])
subplot(212)
y = hilbert(x);
plot(t,abs(y),'linewidth',2)
xlim([0,0.02])
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值