- 博客(0)
- 资源 (1)
空空如也
毕业论文 基于matlab的PSK通信系统仿真
clear all;
close all;
fs=8e5;%抽样频率
fm=20e3;%基带频率
n=2*(6*fs/fm);
final=(1/fs)*(n-1);
fc=2e5; % 载波频率
t=0:1/fs:(final);
Fn=fs/2;%耐奎斯特频率
%用正弦波产生方波
%==========================================
twopi_fc_t=2*pi*fm*t;
A=1;
phi=0;
x = A * cos(twopi_fc_t + phi);
% 方波
am=1;
x(x>0)=am;
x(x= vt
Vs(ii)=High;
else
Vs(ii)=Low;
end
end
Vo=Vs;
subplot(325);
plot (t,Vo), title('解调后输出信号'),
axis([0 2e-4 -5 5])
grid on;
xlabel('时间 (s)'), ylabel('幅度(V)'),
2015-05-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人