There is an example of how to use the LDPC encode/decode with AWGN
channel model in files .\LDPC_decode.m and .\GFq\LDPC_decode.m.
There are a few parity check matrices available in the code but
you can use other matrices provided you have enough memory to load
them. I suggest checking out matrices in Alist format available on
David MacKay s web site.You will need to have access to a MEX compiler
to be able to use a few functions written in C.
LDPC的仿真代碼