The LDPC code makes a supplementary simulation on the suppression performance of burst noise. The results are
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;
%