资源简介
Gallager原版LDPC译码算法仿真程序,大佬的风格,供大家参考

代码片段和文件信息
%This code is to generate parity check matrix of LDPC code using Gallager‘s construction.
%Date: November 23 2013.
clc
close all
clear all
n = 24; % Number of columns
w_c = 3; % Column weight
w_r = 6; % Row weight
k = n*w_c/w_r; % Number of rows
H_sub = zeros(n/w_rn); % First sub-matrix; there are w_c such sub-matrices.
%% Generation of Basic Sub-matrix
for i = 1:n/w_r
for j = (i-1)*w_r+1:i*w_r
H_sub(ij) = H_sub(ij) + 1;
end
end
%% Permutation of Basic Sub-matrix
H_pre = H_sub;
for t = 2:w_c
x = randperm(n);
H_sub_perm = H_sub(:x);
H_pre = [H_pre H_sub_perm];
end
H = zeros(kn);
for p = 1:w_c
H((p-1)*(n/w_r)+1:(p)*(n/w_r)1:n) = H((p-1)*(n/w_r)+1:(p)*(n/w_r)1:n) + H_pre(:(p-1)*n+1:p*n);
end
% H is the requires parity chack matrix.
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 791 2013-11-23 13:13 Gallager_construction_LDPC.m
文件 1306 2014-02-12 14:39 license.txt
- 上一篇:《通信原理》复习要点
- 下一篇:海康FPGA工程师面试
相关资源
- LDPC码原理与应用.pdf
- LDPC码理论与应用 - 袁东风
- LDPC低密度奇偶校验码
- [LDPC码原理与应用].文红.符初生.pdf
- LDPC仿真程序
- 一族原模图LDPC码及其实现和应用
- LDPC的Verilog程序源代码
- LDPC码verilog HDL 实现
- Iterative Error Correction Turbo Low-Density P
- 编码理论 周武旸中国科学技术大学
- 多元LdpC解调译码
- LDPC码密度进化算法研究及其在OFDM中的
- 数字通信原理 Gallager 课后习题解答
- LDPC码基础与应用贺鹤云
- [LDPC码理论与应用].袁东风.张海刚.p
- 数据网络中文版第三章 Bertsekas Galla
- Data Networks Dimitri P. Bertsekas Gallager
- 纠错LDPC的原理讲解
- LDPC码基础与应用.贺鹤云
- 扩频通信系统实用仿真技术源码
- 5G_NR信道编码_LDPC
- Turbo与LDPC编解码及其应用-肖扬
- 36518053zw_-Gallager.zip
- turbo、LDPC标准编译码函数库。包含多
- Principles of Digital Communications中文版
- Bertsekas & Gallager Data Networks (2nd edit
- 数字通信原理-中文版 - Gallager
- Turbo与LDPC编解码及其应用.肖扬.zip
- [Turbo与LDPC编解码及其应用].肖扬.zip
- makay的LDPC码程序
评论
共有 条评论