文件名称:123
介绍说明--下载内容均来自于网络,请自行研究使用
FM without noise
Fs = input( enter the value of Fs ) Sampling rate of signal
Fc = input( enter the value of Fc ) Carrier frequency
t = [0:Fs] /Fs Sampling times
x = sin(2*pi*20*t) +2*sin(2*pi*60*t) Channel
dev = input( enter the value of dev ) Frequency deviation in modulated signal
y = fmmod(x,Fc,Fs,dev) Modulate both channels.
z = fmdemod(y,Fc,Fs,dev) Demodulate both channels.
figure
subplot(3,1,1)
plot(x)
subplot(3,1,2)
plot(y)
subplot(3,1,3)
plot(z)
-FM without noise
Fs = input( enter the value of Fs ) Sampling rate of signal
Fc = input( enter the value of Fc ) Carrier frequency
t = [0:Fs] /Fs Sampling times
x = sin(2*pi*20*t) +2*sin(2*pi*60*t) Channel
dev = input( enter the value of dev ) Frequency deviation in modulated signal
y = fmmod(x,Fc,Fs,dev) Modulate both channels.
z = fmdemod(y,Fc,Fs,dev) Demodulate both channels.
figure
subplot(3,1,1)
plot(x)
subplot(3,1,2)
plot(y)
subplot(3,1,3)
plot(z)
Fs = input( enter the value of Fs ) Sampling rate of signal
Fc = input( enter the value of Fc ) Carrier frequency
t = [0:Fs] /Fs Sampling times
x = sin(2*pi*20*t) +2*sin(2*pi*60*t) Channel
dev = input( enter the value of dev ) Frequency deviation in modulated signal
y = fmmod(x,Fc,Fs,dev) Modulate both channels.
z = fmdemod(y,Fc,Fs,dev) Demodulate both channels.
figure
subplot(3,1,1)
plot(x)
subplot(3,1,2)
plot(y)
subplot(3,1,3)
plot(z)
-FM without noise
Fs = input( enter the value of Fs ) Sampling rate of signal
Fc = input( enter the value of Fc ) Carrier frequency
t = [0:Fs] /Fs Sampling times
x = sin(2*pi*20*t) +2*sin(2*pi*60*t) Channel
dev = input( enter the value of dev ) Frequency deviation in modulated signal
y = fmmod(x,Fc,Fs,dev) Modulate both channels.
z = fmdemod(y,Fc,Fs,dev) Demodulate both channels.
figure
subplot(3,1,1)
plot(x)
subplot(3,1,2)
plot(y)
subplot(3,1,3)
plot(z)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
123.pdf