the checkX.m is a cycleX test algrithm. It can record the cycle numbers and the information bits index number which contains in the cycleX.
the replace.m can repermutaion the cycle with the smallest information bit index numbers which contains in the cycleX.
gen_quasiH.m can generate a quasi-cycle LDPC parity check matrix for test.