文件名称:Amplitude_mod_m
介绍说明--下载内容均来自于网络,请自行研究使用
fm=input( Enter the message signal frequency fm= )
fc=input( Enter the carrier frequency fc= )
Am=input( Enter the message signal amplitude Am= )
Ac=input( Enter the carrier signal frequency Ac= )
n=input( Enter the no of DFT points: )
tm=(1/fm)
tc=(1/fc)
nfc=40
t=0:(tc/nfc):4*tm
msg=Am*cos(2*pi*fm*t)
car=Ac*cos(2*pi*fc*t)
Modulation
dsb=msg.*car
AM=(dsb/Ac)+car
figure(1)
subplot(2,1,1)
plot(t,msg)
subplot(2,1,2)
plot(t,car)
figure(2)
subplot(2,1,1)
plot(t,dsb)
subplot(2,1,2)
plot(t,AM) -fm=input( Enter the message signal frequency fm= )
fc=input( Enter the carrier frequency fc= )
Am=input( Enter the message signal amplitude Am= )
Ac=input( Enter the carrier signal frequency Ac= )
n=input( Enter the no of DFT points: )
tm=(1/fm)
tc=(1/fc)
nfc=40
t=0:(tc/nfc):4*tm
msg=Am*cos(2*pi*fm*t)
car=Ac*cos(2*pi*fc*t)
Modulation
dsb=msg.*car
AM=(dsb/Ac)+car
figure(1)
subplot(2,1,1)
plot(t,msg)
subplot(2,1,2)
plot(t,car)
figure(2)
subplot(2,1,1)
plot(t,dsb)
subplot(2,1,2)
plot(t,AM)
fc=input( Enter the carrier frequency fc= )
Am=input( Enter the message signal amplitude Am= )
Ac=input( Enter the carrier signal frequency Ac= )
n=input( Enter the no of DFT points: )
tm=(1/fm)
tc=(1/fc)
nfc=40
t=0:(tc/nfc):4*tm
msg=Am*cos(2*pi*fm*t)
car=Ac*cos(2*pi*fc*t)
Modulation
dsb=msg.*car
AM=(dsb/Ac)+car
figure(1)
subplot(2,1,1)
plot(t,msg)
subplot(2,1,2)
plot(t,car)
figure(2)
subplot(2,1,1)
plot(t,dsb)
subplot(2,1,2)
plot(t,AM) -fm=input( Enter the message signal frequency fm= )
fc=input( Enter the carrier frequency fc= )
Am=input( Enter the message signal amplitude Am= )
Ac=input( Enter the carrier signal frequency Ac= )
n=input( Enter the no of DFT points: )
tm=(1/fm)
tc=(1/fc)
nfc=40
t=0:(tc/nfc):4*tm
msg=Am*cos(2*pi*fm*t)
car=Ac*cos(2*pi*fc*t)
Modulation
dsb=msg.*car
AM=(dsb/Ac)+car
figure(1)
subplot(2,1,1)
plot(t,msg)
subplot(2,1,2)
plot(t,car)
figure(2)
subplot(2,1,1)
plot(t,dsb)
subplot(2,1,2)
plot(t,AM)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Amplitude_mod.m