
There are three main folders.

1. HMATRIX_DESIGN: generate parity check matrix

E.g. to generate a (3,6)-regular LDPC parity check matrix has code length 500, you run 

 [Indi,H_red,I_]=generaH(500, 250, 3);
 H=zeros(250, 500);
 H(I_)=1;

2. ASYMPTOTIC: asymptotic analysis of the GLDPC codes over BEC

Density_evolution_threshold_ldpc.m: compute the threshold of LDPC codes using density evolution method.

Differential_equaltion_pd.m: use differential equation method to do the asymptotic analysis of the LDPC codes.

Differential_equaltion_ppd_dmin3.m: use differential equation method to do the asymptotic analysis of the GLDPC codes when all component codes have minimal distance 3. This program can be applied to different degree distributions, and can also be extended to component codes have different minimal distance.\

3. DECODER includes the decoder for BEC

You have to compile .c file to mex file when call it from matlab. 
For BEC, the author gives and example of (2, 7)-regular GLDPC code design. 
If you want to try it with different code design, you have to make changes on all .m file, please note that the .c file works for all cases.