I'm trying to simulate LDPC codes which were optimized for the BEC channel. I generated the degree and check nodes polynomials according to chapter 3.15 in "Modern Coding Theory" by Richardson and Urbanke. I want to use Matlab's LDPC Encoder/Decoder functions, which needs the parity check matrix. How can I create a parity check matrix, from the degree polynomials? Any help appreciated.