资源简介
LDPC在AWGN性能仿真
代码片段和文件信息
clear
clc
clear
%--------------------------------------------------------------------------
%-----Set-Simulation-Parameters--------------------------------------------
%--------------------------------------------------------------------------
snrs = [10 13 15]; %SNR values
codeRate = 9/10; %Possible values for codeRate are 1/4 1/3 2/5 1/2 3/5 2/3 3/4 4/5 5/6 8/9 and 9/10. The block length of the code is 64800
mod_order = 4; %PSK Modulation Order
frames = 2500; %Number of frames (fame size is 64800 bits) to be simulated
%--------------------------------------------------------------------------
rounds = size(snrs2);
messageLength = round(64800*codeRate);
for run = 1:1:rounds
framepattern = [];
snrvalue = snrs(run);
H = dvbs2ldpc(codeRate);
%spy(H); % Visualize the location of nonzero elements in H.
errors = 0;
hEnc = comm.LDPCEncoder(H);
hMod = comm.PSKModulator(mod_order ‘BitInput‘true);
hChan = comm.MIMOChannel(‘MaximumDopplerShift‘ 0 ‘NumTransmitAntennas‘1‘NumReceiveAntennas‘1 ‘TransmitCorrelationMatrix‘ 1 ‘ReceiveCorrelationMatrix‘ 1 ‘PathGainsOutputPort‘ true);
hAWGN = comm.AWGNChannel(‘NoiseMethod‘‘Signal to noise ratio (SNR)‘‘SNR‘snrvalue);
% hDemod = comm.PSKDemodulator(4 ‘BitOutput‘true‘DecisionMethod‘‘Approximate log-likelihood ratio‘...
% ‘Variance‘ 1/10^(hChan.SNR/10));
hDemod = comm.PSKDemodulator(4 ‘BitOutput‘true‘DecisionMethod‘‘Approximate log-likelihood ratio‘);
hDec = comm.LDPCDecoder(H‘DecisionMethod‘ ‘Soft decision‘);
%hError = comm
相关资源
- Ldpc编译码方案MATLAB仿真
- 基于MATLAB的低密度奇偶校LDPC验码编码
- LDPC编译码器Matlab代码及参考资料
- LDPC码编译码器的matlab实现
- LDPC编码解码matlab代码和Verilog代码及资
- LDPC编码解码FPGA Verilog+MATLAB
- LDPC编解码的MATLAB仿真实现
- 可变码率LDPC的MATLAB实现
- QC-LDPC码的编码和译码程序
- LDPC码编译码仿真
- LDPC码MATLAB程序
- LDPC仿真,matlab BP算法 LDPC编解码的m
- LDPC编译码MATLAB程序,可以直接运行程
- 多进制纠错码LDPC编译码matlab算法仿真
- 删除信道下的LDPC码 编译码
- ldpc MATLAB
- GIRTH8 QC-LDPC MATLAB源码
- LDPC 的编译码MATLAB仿真
-
SIMUli
nk仿真实现LDPC信道编码 - LDPC的matlab 仿真 BP算法 BPSK调制
- LDPC BP算法
- qc_ldpc矩阵构造
- 基于MATLAB的LDPC码的仿真
- LDPC编码的matlab实现
- matlab的LDPC实现
- QC-LDPC码的校验矩阵构造
- ldpc ms算法
- ldpc迭代算法
- 简单有效的LDPC码BP译码算法 MATLAB
- LDPC码的matlab仿真
评论
共有 条评论