1 简介
利用Matlab作为编程工具,对二进制数字调制系统进行了分析,设计了二进制数字调制系统模型,并对模型的仿真流程以及仿真结果进行具体分析,为实际系统的构建提供依据.
2 部分代码
function [f,sf]= T2F(t,st)
%This is a function using the FFT function to calculate a signal's Fourier
%Translation
%Input is the time and the signal vectors,the length of time must greater
%than 2
%Output is the frequency and the signal spectrum
dt = t(2)-t(1);
T=t(end);
df = 1/T;
N = length(st);
f=-N/2*df:df:N/2*df-df;
sf = fft(st);
sf=T/N*fftshift(sf);
3 仿真结果
4 参考文献
[1]孙高海, 蒋洪晖, 于爽,等. 基于Matlab的二进制数字调制系统仿真[J]. 四川兵工学报, 2010, 31(3):119-121.