Watch this Author's files
Thank you for your suggestion. I'm try to correct my error.
Your LDPC codes have two problems: 1. singularity, 2. with Girth 4 for short lengths.
Contact us at files@mathworks.com