资源简介
主要是基于删除信道下的LDPC码的编译码的实现 在MATLAB环境中运行实现

代码片段和文件信息
% function [degreesrholambdastats]=CompLeftExp(Ra);
%
% Computes degree distributions from the exponential
% family
%
% f(x;a) =(exp(a*x)-1)/(exp(a)-1)
%
% (“Tornado sequences“). Uses explicit formulas for the Taylor
% coefficients of f and g.
%
% Input: Rate 00
%
% Output:
% degrees=[a_r a_l N M] average and maximal degrees
% of right and left degree distributions
% rho 1xN array of right degrees
% lambda 1xM array of left degrees
% stats [deltaepsilonmuDeltaLambda2]
% distances to capacity 1-R comparison to
% lower bounds and fraction of degree 2 variable
% nodes Lambda2=lambda2*a_l/2
%
% Author: P. Oswald
% Last changed: 10/4/2002
function [degreesrholambdastats]=CompLeftExp(Ra);
%
% Safety bounds for degrees
Nmax=20000;Mmax=20000;
% Computation of a_r N and rho
% by taking a long enough piece of the Taylor series of f
b=exp(a)-1;Ir0=(b-a)/(a*b); % Ir0 = int_[01] f(x) dx
rho=[];c=a/b;Ir=0;n=2;
while Ir0-Ir>0.0000000001&n<=Nmax
rho=[rho c];c=c/n;Ir=Ir+c;c=c*a;n=n+1;
end
c1=sum(rho);rho=rho/c1;N=n-1;ar=c1/Ir;
%
% Computation of a_l M lambda and delta
% by implementing Step (2) and (3) of Algorithm 1.
% This is based on hand-derived recursions for the Taylor coefficients
% g_k of g which lead to recursions for s_k and sigma_k and finally
% to finding t such that hat(I)(t)=1/a_l where a_l=a_r*(1-R)
% is the average degree of the left (variable) nodes.
al=ar*(1-R);b=b/exp(a);
c=b/a;sk=c;c1=c/2;sigmak=c1;lambda=[];
if al<2
disp(‘Average degree of left nodes too small (decrease R or increase a)‘);
M=0;lambda=[];stats=[];
else
if al==2
lambda=1;M=2;delta=c;
else
m=2;q=sigmak/sk;
while q*al>1&m lambda=[lambda c];c=c1*b*(m-1);sk=sk+c;
m=m+1;c1=c/m;sigmak=sigmak+c1;q0=q;q=sigmak/sk;
end
if q*al>1&m==Mmax
disp(‘M too big (reduce a or increase R or change Mmax)‘);
M=m;lambda=[];stats=[];
else
M=m;t1=(al*sigmak-sk)/(al*c1-c);
delta=(sk-t1*c);lambda=[lambda (1-t1)*c]/delta;
end
end
%
% Computation of output
epsilon=1-delta/(1-R);
b=ar*log(R);mu=b/log(epsilon);Delta=epsilon/exp(b);
Lambda2=lambda(1)*al/2;stats=[delta epsilon mu Delta Lambda2];
end
degrees=[ar al N M];
% End CompLeftExp.m
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-05-16 13:32 chandhuLDPC\
文件 2383 2009-01-05 21:02 chandhuLDPC\CompLeftExp.m
文件 2154 2011-05-12 18:32 chandhuLDPC\CompLeftPoly.m
文件 2273 2009-01-05 21:03 chandhuLDPC\CompLeftPoly2c.m
文件 2782 2009-01-05 21:05 chandhuLDPC\CompLeftSelf.m
文件 1570 2009-01-05 21:08 chandhuLDPC\main.m
- 上一篇:脑电信噪比计算 matlab 程序
- 下一篇:超市管理系统 mdl文件
相关资源
- Ldpc编译码方案MATLAB仿真
- 信息论大作业 LZ78算法编译码 matlab仿
- 基于MATLAB的低密度奇偶校LDPC验码编码
- gsl数学计算库vs2017静态编译
- 双流网络行为识别matlab代码已编译
- LDPC编译码器Matlab代码及参考资料
- 一个完整的RS编译码的发射接收工程
- MATLAB实现曼切斯特编码,密勒编码,
- windows sdk7.1 用于matlab与vs交叉编译
- LDPC码编译码器的matlab实现
- LDPC编码解码matlab代码和Verilog代码及资
- MATLAB 7 界面设计与编译技巧
- 龙书 编译原理 第二版 kindle mobi 原版
- LDPC编码解码FPGA Verilog+MATLAB
- Matlab的两种编译器MinGW-w64和Visual Stu
- LDPC编解码的MATLAB仿真实现
- tdm-gcc.zip
- RS编译码matlab程序
- 可变码率LDPC的MATLAB实现
- QC-LDPC码的编码和译码程序
-
MatlabGUI调用Simuli
nk编译成可执行的 - LDPC码编译码仿真
- matlab2017a/b与visual studio2017编译器关联
- LDPC码MATLAB程序
-
基于DVB-S协议的编译码算法—simuli
- matlab2014b 完全破解文件,解决编译e
- matlab-vs2012的编译配置文件
- BCH和RS码的编译码程序
- windows和linux编译好的LIBSVM
- LDPC仿真,matlab BP算法 LDPC编解码的m
评论
共有 条评论