资源简介
之前通信仿真课写的,曲线还蛮平滑。MATLAB仿真AWGN信道中,16QAM和64QAM在不同信噪比下的误码率比较。
代码片段和文件信息
function [redata1]=demoduQ16(Receive16RealReceive16ImagN)%demodulation 函数
data1demod1 = zeros(1N);
data1demod2 = zeros(1N);
data1demod3 = zeros(1N);
data1demod4 = zeros(1N);
redata1=zeros(14*N);
for k = 1:N
if Receive16Real(k)>2
data1demod1(k) = 0;
data1demod2(k) = 0;
if Receive16Imag(k)>2
data1demod3(k) = 0;
data1demod4(k) = 0;
elseif Receive16Imag(k)>0 && Receive16Imag(k)<2
data1demod3(k) = 0;
data1demod4(k) = 1;
elseif Receive16Imag(k)>-2 && Receive16Imag(k)<0
data1demod3(k) = 1;
data1demod4(k) = 1;
elseif Receive16Imag(k)<-2
data1demod3(k) = 1;
data1demod4(k) = 0;
end
elseif Receive16Real(k)>0 && Receive16Real(k)<2
data1demod1(k) = 0;
data1demod2(k) = 1;
if Receive16Imag(k)>2
data1demod3(k) = 0;
data1demod4(k) = 0;
elseif Receive16Imag(k)>0 && Receive16Imag(k)<2
data1demod3(k) = 0;
data1demod4(k) = 1;
elseif Receive16Imag(k)>-2 &&Receive16Imag(k)<0
data1demod3(k) = 1;
data1demod4(k) = 1;
elseif Receive16Imag(k)<-2
data1demod3(k) = 1;
data1demod4(k) = 0;
end
elseif Receive16Real(k)<0 && Receive16Real(k)>-2
data1demod1(k) = 1;
data1demod2(k) = 1;
if Receive16Imag(k)>2
data1demod3(k) = 0;
data1demod4(k) = 0;
elseif Receive16Imag(k)>0 && Receive16Imag(k)<2
data1demod3(k) = 0;
data1demod4(k) = 1;
elseif Receive16Imag(k)>-2 && Receive16Imag(k)<0
data1demod3(k) = 1;
data1demod4(k) = 1;
elseif Receive16Imag(k)<-2
data1demod3(k) = 1;
data1demod4(k) = 0;
end
elseif Receive16Real(k)<-2
data1demod1(k) = 1;
data1demod2(k) = 0;
if Receive16Imag(k)>2
data1demod3(k) = 0;
data1demod4(k) = 0;
elseif Receive16Imag(k)>0 && Receive16Imag(k)<2
data1demod3(k) = 0;
data1demod4(k) = 1;
elseif Receive16Imag(k)>-2 && Receive16Imag(k)<0
data1demod3(k) = 1;
data1demod4(k) = 1;
elseif Receive16Imag(k)<-2
data1demod3(k) = 1;
data1demod4(k) = 0;
end
end
redata1(4*k-3)=data1demod1(k);
redata1(4*k-2)=data1demod2(k);
redata1(4*k-1)=data1demod3(k);
redata1(4*k)=data1demod4(k);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1223 2019-01-12 18:29 QAM\Qam1.m
文件 2915 2018-12-01 00:14 QAM\demoduQ16.m
文件 12741 2018-12-01 00:14 QAM\demoduQ64.m
文件 2117 2018-11-30 23:47 QAM\moduQ16.m
文件 7253 2018-11-30 23:47 QAM\moduQ64.m
目录 0 2019-04-19 22:34 QAM\
相关资源
- 由坐标矩阵求最小生成树图形原创无
- 最小生成树kruskal算法,最短路dijkst
- 单载波调制锁相环电路MATLAB仿真程序
- matlab利用深度和广度搜索解决八数码
- 基于matlab的指纹识别算法.pdf
- 稀疏表示人脸识别SRC matlab代码实现
- MOPSO多目标优化程序MATLAB代码.zip
- 基于matlab的数字识别程序gui显示.rar
- MIMO雷达BP算法
- 低通滤波器 matlab 实现
- MATLAB进行机器人手臂的运动仿真
- SD算法和LMS算法MATLAB仿真
- vrep-matlab机器人仿真--PUMA560机械臂目标
- 基于MATLAB GUI开发的多算发雷达恒虚警
- 数字信号处理音频FIR去噪基于MATLAB
- 改进的考虑路阻的Dijkstra算法matlab算法
- MATLAB运动目标检测代码
- MATLAB新许可文件可通用
- 含过时信息多智能体系统一致性Matl
- matlab利用PCA函数进行降维
- matlab读取hdf文件
- MATLAB-RFID-二进制树
- 基于MATLAB的车牌识别.rar
- 电网络节点电压法matlab程序
- 基于不同调制方式16QAM、64QAM、QPSKOF
- 汽车主动悬架控制器建模仿真程序代
- ADRC_TD.zip
- MIMO_DOAMIMO-雷达DOA估计中克拉美罗界
- 随机生产模拟matlab程序
- 雷达杂波瑞利分布模型MATLAB仿真
评论
共有 条评论