⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parallel_5_10.m

📁 The files include LDPC that using different approach to finish its decoding.And the approach is par
💻 M
字号:
clc,clear all;
global tt1
global tt2
global rr1
global rr2
tic
run_number=1000;
SNR=2;
for z=1:run_number
H =[1     0     0     0     0     0     0     1     1     1
    0     1     0     0     0     1     0     0     1     1
    0     0     1     0     0     0     1     1     0     1
    0     0     0     1     0     1     1     0     1     0
    0     0     0     0     1     1     1     1     0     0];
G =[ 0     1     0     1     1     1     0     0     0     0
     0     0     1     1     1     0     1     0     0     0
     1     0     1     0     1     0     0     1     0     0
     1     1     0     1     0     0     0     0     1     0
     1     1     1     0     0     0     0     0     0     1];

 M_length=length(G(:,1));% Length of message

for i=1:M_length
    information(i)=rem(round(rand(1)*100000),2);
    
    message(1,i)=information(i);
end

codeword_T=message*G;% 璶肚

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -