资源简介
自适应调制编码仿真 使用MATLAB仿真,包含一".M"文件。
代码片段和文件信息
function Signal=QAM(RsFsFc)
% this file used to produce qam signal
% clear all;
% simulation time
Temulate = 3;
%roll factor
alfa = 1;
%carrier intial phase
Qi = pi/8;
%snr
nos = 21;
% % symbol rate
% Rs = 9600;
% % sample rate
% Fs= Rs*8;
% % carrier frequency
% Fc= 19200;
% % Fc=Rs*2;
string = ‘signal_16qamdata.dat‘;
bit_number = floor(Temulate*Rs);
rawdata = rand(1bit_number);
for i=1:bit_number
if(rawdata(i)>=0.5)
rawdata(i)=1;
else
rawdata(i)=0;
end
end
h = rcosfir(alfa[-33]811);%;%1rcosfir(alfa1121‘sqrt‘)
In = zeros(1bit_number*8/4+8);
Qn = zeros(1bit_number*8/4+8);
j = 1;
for i = 1:4:bit_number
if((rawdata(i) == 0) & (rawdata(i+1) == 0))
In(1+j*8) = 3;%*0.41;
elseif((rawdata(i) == 0) & (rawdata(i+1) == 1))
In(1+j*8) = 1;%0.41;
elseif((rawdata(i) == 1) & (rawdata(i+1) == 0))
In(1+j*8) = -1;%0.41;
elseif((rawdata(i) ==
- 上一篇:EEG脑地形图绘制程序
- 下一篇:TCP/ IP协议与网络编程 实验报告
相关资源
- ParaViewTutorial.pdf
- xyisv_10236804.zip
- 计算机图形学第4版高清电子书.pdf
- 《多粒度知识获取与不确定性度量》
- 华成英模电课件.zip
- 70d0cd041f738f12db575d3b46e97582.pdf
- OfficeTabEnterprise13.1.zip
- wxu998.rar
- PowerDesigner16.5汉化文件.rar
- jsgis.zip
- PinyinIME(关键代码写了注释).zip
- 锁相环设计、仿真与应用第5版中.pd
- novelOnLine.zip
- SingleSensorImagingMethodsandApplicationsforDi
- ControlSystemsEngineering7th(NormanS.Nise)
- ModernControlSystems13th(RichardC.Dorf).ra
- VectorMagic_1.15pojie.rar
- complexityoflattice__problems.pdf
- xnby_883749.zip
- TOGAF培训讲义-周金根.pdf
- OS12.2驱动,手机虚拟定位软件,Loca
- 大话系列-大话数据结构(pdf高清版)
- 梁宁产品经理思维30讲.pdf
- CHI760E辰华电化学工作站软件最新版
- SAPERPHCM葵花宝典系列之配置指南(电
- TangZhuoLin.rar
- Day3_NOI.zip
- 图解HTTP.pdf
- VisionProStandardv7.2(2Day).zip
- ElevatorSimulation.zip
评论
共有 条评论