MATLAB simulation of a QC-LDPC code to suppress burst noise

Blog on the BPSK modulation (2,1,3), (2,1,6) convolutional code with the QC-LDPC code decoding performance comparison of the burst and noise suppression (MATLAB implementation) in

The LDPC code makes a supplementary simulation on the suppression performance of burst noise. The results are
Insert picture description here
as follows: The code is as follows:

% LDPC code
clear; close all; clc
Nb = 203000; % number of bits
SNRdB = 2:1:10;

bit_ori = randi([0,1],1,Nb); 
P0 = eye(100); % standard permutation matrix
P = [P0(:,100) P0(:,1:99)]; 
P_1 = zeros(100); % P to the power of -1
Hb = [0 1 0 -1;2 1 2 1]; % proto matrix
P2 = P*P;
H = [P0 P P0 P_1;P2 P P2 P]; % low density parity check matrix
% spy(H);

%  H1=[1 0 0 0 1 0 1 0 0 0 0 0;
%      0 1 0 0 0 1 0 1 0 0 0 0;
%      0 0 1 1 0 0 0 0 1 0 0 0;
%      0 0 1 0 1 0 0 0 1 0 1 0;
%    

Guess you like

Origin blog.csdn.net/wlwdecs_dn/article/details/113774690