*Updated June 22,2007*

Finally, I completed all four LDPC MATLAB codes I needed for my thesis. I am studying a class of error correcting codes called low-density parity-check codes or LDPC codes. It’s one of the best codes which was developed lately and continues to attract a lot of researches.

A what???

Error correcting codes are important in communications. Imagine sending a text message to someone like “I LOVE YOU”. Due to noise present, the text message gets corrupted and its possible that the text message becomes a different set of unrecognizable characters. This is where a good error correcting code comes in. Once you receive the message, it tries to detect an error and correct it as the same time. This is a neat solution since it saves you from texting again and again until the correct message is received. Of course, this is just a simple and exaggerated example. But error correcting codes made a lot of things we enjoy today possible. Cellphones, satellites, cable, computers, mp3 players and a lot more.

I’m sharing my codes to those who are also interested in learning about LDPC codes. My thesis is devoted to studying the hard-decision bit flipping algorithms and I will be implementing it into a hardware. There are 4 types of algorithm I’m trying to study. Bit Flipping algorithms are the simplest decoding schemes available for LDPC codes. They provide a good trade-off between complexity and performance. These codes are good for those who what to start learnin about LDPC codes.

Here’s a list of the algorithms:

1. Standard Bit Flipping (BF) Algorithm by R Gallager

2. Weighted Bit Flipping (WBF) Algorithm by Y Kou, S Lin, M Fossorier

3. Modified Weighted Bit Flipping (IWBF) Algorithm by J Zhang, M Fossorier

4. Implementation-efficient Reliability Ratio based Weighted Bit-Flipping (IRRWBF) Algorithm by CH Lee and W Wolf

I placed a short instruction on how to use the code with the zip file as well as a few more links.

If you want to know more about LDPC codes, there are a lot of resources in the web. It took me almost six months to gather them and help me understand what my thesis will all be about. I hope my codes will help others who want to learn about LDPC shorten the learning curve.

Click here to download the zip file.

### Like this:

Like Loading...

*Related*

Jinowee!

Nagdugo ilong kag dalunggan ko sa ginbasa ko but I am understanding it through ur explanation on the early part of it!

Amazing ka gd ya!

Sales lang storyahan ta ha! hehehehehehe

Grabe ka complicated gali sg imo nga thesis!

Hope it does well on its review.

mwahmwahmwah

By:

intsikon June 14, 2007at 5:13 pm

heheh, way ko may na-intindihan jin, hanggang math kag chem lang ako, :). anyway, good luck gid and best wishes sa defense, wow, you’ve traveled a long way, keep it up.

By:

elizabethon June 15, 2007at 2:23 am

kindley send me LDPC codes which u have downloaded from this site…. i cant download it from here …. plzzzzzzzzz help me

By:

amjadon March 25, 2013at 5:47 pm

Hi! They are not longer available. Could you email them to me? Thank you. jartuflo10@hotmail.com

By:

Arturo Floreson September 10, 2013at 10:59 pm

thank you for matlab code

By:

konbaaron July 30, 2007at 1:25 pm

kindley send me LDPC codes which u have downloaded from this site…. i cant download it from here …. plzzzzzzzzz help me

By:

amjadon March 25, 2013at 5:52 pm

ur matlab code is very helpful for my study in LDPC,thx a lot for ur work,and hope i can discuss more details with u later after i understand it better.

By:

stevenon October 15, 2007at 1:40 pm

kindley send me LDPC codes which u have downloaded from this site…. i cant download it from here …. plzzzzzzzzz help me

By:

amjadon March 25, 2013at 5:45 pm

Can you plz send me the file… thanks a lot….

By:

RAJENon July 20, 2015at 10:54 am

my email address is patra.rajenkumar@gmail.com

By:

RAJENon July 20, 2015at 10:55 am

Great work buddy!!! i dunno how to thank u.. will get back to u after i finish reading.. thanks a lot.. not posting email id cuz of spammers..

By:

Maheshon January 4, 2008at 9:52 pm

hey….nice work on ldpc….i am working on it as well….can i have a copy of your thesis?….

By:

asadon February 13, 2008at 10:59 pm

Great code. I am working on LDPC coded MIMO systems using variable rate LDPC codes. I need matlab code for variable rate LDPC encoder. Possible??

By:

Harry Sandhuon April 3, 2008at 11:03 am

Hi,i wonder the performance of your code. İ mean how long does it take for decoding 1000 codewords for 3 db Eb/No?

By:

denizon May 9, 2008at 10:23 pm

very good sir

By:

senouci mustaphaon May 11, 2008at 4:27 pm

great ,

i’am working on the ldpc coded for multiuser

i need a matlab code source for this project

bye

By:

senouci mustaphaon May 11, 2008at 4:30 pm

also , can i have a cpie of your thesis and some doc

By:

senouci mustaphaon May 11, 2008at 4:33 pm

please send me the codes and papers related to ldpc ..

plz

By:

amjadon December 16, 2012at 1:15 am

By:

amjadon March 25, 2013at 5:47 pm

May be something is wrong but I cant download LDPC MatLab zip. Abstract is very attractive, just to solve my problem. Can you help?

By:

Alexon May 15, 2008at 3:25 am

hi

can anyone help me.

i want to use ldpc encoder and decoder in matlab in the simulink of dvb s2 but using k,n less than use in the original simulink of dvb how can i chanae it pleas

By:

saraon June 5, 2008at 5:53 am

Dear Sara!

I’m looking for LDPC encoding having check matrix H including US patents. But without result. MatLab codes are closed and not accessible for parametrs changing

By:

Alexon June 18, 2008at 1:55 am

Hi Manokan…

Can you send me your zip file about LDPC to my e-mail?? I don’t have a account in the rapid share….

Best regards,

Maria

By:

Maria Gonçalveson July 1, 2008at 5:46 am

Hi everyone.

I am looking for a MATLAB code which simulates hardware implementation of a LDPC decoder using message passing belief propagation algorithm. I need to observe the effect of quantization on the performance.

HELP ME PLEASE IF YOU KNOW WHERE I CAN FIND SUCH A CODE!!

TNX.

By:

Nazlion August 31, 2008at 8:25 pm

Hi Manokan,

I am grateful to have your code. Looking into it, I am still confused with the Step2 and Step3 within the function [u ,ite]=ldpc_bf(H,re,max_ite). Is it for the Weighted Bit Flipping Algorithm or a STANDARD Bit Flipping one? Would you please give me more information or hints? Really appreciate your great contribution.

By:

Matton April 16, 2010at 6:29 pm

Hi, I am unable to download code. Could you please send it to me by mail at shahid_ee@hotmail.com

By:

Shahidon December 13, 2012at 3:30 pm

hi..did u get te code in ur email?? if possible plz give me @

mariavinith@yahoo.in

By:

mrioon January 22, 2017at 4:20 pm

By:

amjadon March 25, 2013at 5:48 pm

HI

I need a LDPC code where gaussian elimination is done. I want to improve the performance using other techniques such as gauss_ Jordar, Jacobi, Gauss_Seidel.

it will be very helpful for me if someone sends this code in my mail.

sno2050@yahoo.com

By:

Syed Nazim Obayedon September 26, 2011at 11:57 am

Hi,

DId any one send you LDPC code, Kindly send me too. Thank you very much. My Id is shahid_ee@hotmail.com

By:

Shahidon December 13, 2012at 3:31 pm

Hi,

I need a matlab code for error correction usingLDPC codes, will some one help me.

By:

karunakaran Aon November 30, 2011at 5:27 pm

buddy the rapidshare file is not available … please check it

By:

Karthickon August 30, 2012at 6:29 pm

hi,

i am doing my project on ldpc codes . i am unable to download from ur site , so can you mail me ?IT’S ver urgent ………….

By:

rakeshon November 12, 2012at 2:09 pm

plz send me the zip file because i cant download it from here plz………

malikamjad25@gmail.com

By:

amjadon December 16, 2012at 1:13 am

Hi. I’m studying LDPC codes. Can i get the zip file…? plz

jhk507@gmail.com

thank you!!

By:

jhkon January 14, 2013at 3:26 pm

hey manokan,

can you please describe ldpc code in short and sweet language.( we can connect though mai.)

And in which particular field of science this codes is used.

By:

Shubhamon January 20, 2013at 10:54 pm

Hi Manokan,

I tried to download your files but I wasn’t able. can you please email it to me.

I am working on a class of LDPC codes called Reed-Solomon based LDPC codes. I have some problem on converting H matrix to G. Can you help me on it?

thanks

By:

Farzadon February 6, 2013at 12:44 pm

please send me the LDPC codes to my mail id…….

By:

gayathirion February 6, 2013at 5:43 pm

Hi,I need matlab code for LDPC code in MIMO system. I speak English little, so I’am sorry ,so if someone speak french that help me much

Bonjour,

Je voudrai avoir votre aide pour simuler la performance des codes LDPC associés aux systèmes MIMO sous matlab; Merci

Voila mon e-mail: tantelynomena@yahoo.fr

By:

taxon April 2, 2013at 7:13 pm

Hello,

The zip file is no more available for download.

Could someone please email me the files?

Many thanks

Yogesh

yogesh536@hotmail.com

By:

Yogeshon April 22, 2013at 12:00 pm

Hi! I would also like to check the codes. Could someone please email me the files? (which are not longer available). Thank you! my mail: jartuflo10@hotmail.com

By:

Arturo Floreson September 10, 2013at 10:52 pm

Hi Manokan,

I tried to download your files but I wasn’t able. I wants simulated BER cover of phading channel use LDPC Code. Can you please email it to me! My email is linhlharfm@gmail.com. Help me! Thanks very much

By:

hong linh leon September 15, 2013at 12:08 am

Hi Manokan,

I’ve tried to download you file but I can’t. maybe the filed already been removed. Can you kindly emailed me all of those file.

I want to simulate LDPC code over OFDM system. Hope your code will help me of the basic LDPC. My email ssobrun_88@yahoo.com.

Thank you in advance.

By:

sobrunon October 4, 2013at 2:28 pm

Hi Manokan, it seems that your link to the zip file is no longer there. Could you email me the file? Thanks.

ronggangqi@gmail.com

By:

Ronggang Qion October 18, 2013at 3:58 am

hi, please i cant download the zip file. could you please send it to my email. id appreciate it thanks.

By:

graceon November 16, 2013at 8:33 pm

hi, i cant download the zip file. please send it to my email. id appreciate it thanks.

hekayat9@gmail.com

By:

hassanon November 17, 2013at 9:08 pm

can I have the zip file please. I can’t dowload it. thank you very much.

here my email: wa5wi5ou@gmail.com

By:

wa5wi5ouon December 1, 2013at 3:48 am

can you help me to get a copy for LDPC code … plzzzzzzzzzzzzzzzzzzzzzzzz 😦

By:

Marwaon February 23, 2014at 2:30 pm

please send me the LDPC codes to my email

maroomer@hotmail.com

By:

Marwaon February 23, 2014at 2:31 pm

hi, i cant download the zip file. please send it to my email. id appreciate it thanks.

chrif.hosni@gmail.com

By:

cherifon November 3, 2014at 10:52 pm

I cant download zip file. Can you pls email it.

By:

Pappson April 3, 2015at 6:05 am

Can you please send me the code to my email. Thanks

By:

Prashanton April 25, 2015at 6:57 am

thanks for your work

but i couldn’t download it. can you send me by email please?

also i need help by this article “Improved Iterative Bit Flipping Decoding

Algorithms for LDPC Convolutional Codes” i don’t know how it can be applied..can you help me???

thank you

By:

raghadon July 29, 2015at 11:51 am

Hi,

Can you please send me the zip file? My email address is: hassankhodaiemehr@gmail.com

Thank you in advance.

By:

Hassanon September 1, 2015at 12:08 am

Can you please send me the code to my email. Thanks

By:

Cryslaineon January 3, 2016at 12:34 am

my email address is : crysfr@hotmail.com

thanks

By:

Cryslaineon January 3, 2016at 12:35 am

Hi;

please send me the matlab ldpc code to my email.

email address: imad.ezzazi@gmail.com

By:

immadon January 20, 2016at 7:23 pm

Can you plz send me the codes and papers related to ldpc thanks a lot and a copy of your thesis please

My email address is:

amie2010135@hotmail.fr

By:

minon adamon January 28, 2016at 2:22 am

Hi please i nedd the matlab ldpc code ,can you send me .

My email hanane.guerfi@gmail.com

By:

Guerfi Hananeon February 26, 2016at 2:22 am

Can you plz send me the matlab codes related to ldpc thanks a lot and a copy of your thesis please

My email address is:

alekhya.samboju@gmail.com

By:

Alekya.Sambojuon April 11, 2016at 3:09 pm

Hello, Can u please send me the matlab codes of LDPC.

my email:Shirchee_0520@yahoo.com

By:

shircheeon April 11, 2016at 9:59 pm

plzzzzzzzzzzzzz help me and send mea copy of your codes

i d really appreciate it

my email

brahimi_amine@outlook.com

By:

amineon May 12, 2016at 8:39 pm

Can you plz send me the matlab codes related to ldpc thanks a lot and a copy of your thesis please

My email address is:

eng.fatma.shokry92@gmail.com

By:

fatmashokryon June 4, 2016at 7:09 pm

please help me i really need a your matlab codes of ldpc here is my email: kawtarbarri@gmail.com

By:

barrion July 21, 2016at 6:51 am

hie I am not able to download the codes.. will u please send it to me on my mail?

vismaykansara@gmail.com

By:

vismayon August 1, 2016at 10:25 pm

hi, I am not able to download the codes. will u please send it to me on my mail? thanks!

zhiqjiang@163.com

By:

Zhiqian Jiangon November 3, 2016at 8:50 am

Hi, I am unable to download code. Could you please send it to me by mail at rahmati.alireza@gmail.com

By:

Alion December 8, 2016at 6:48 am

Hi, I am unable to download code.

Could you please send it to my email 1007092471@qq.com

Thank you very much.

By:

Kingsleyon January 5, 2017at 6:39 pm

hi

every one

i am looking for matlab code for mackey neal decoder matrix

i have a code but i donot understand what values of ‘v’ and ‘h’ to be used i mean whether to tak it as vector or scaler can any one help if i send the code

By:

sumairon March 5, 2017at 9:30 pm

Algorithm 1 MacKay Neal LDPC Codes

1: procedure MN CONSTRUCTION(n,r,v,h) ⊲ Required length, rate and

degree distributions

2: H = all zero n(1 − r) × n matrix ⊲ Initialization

3: α = [];

4: for i = 1 : max(v) do

5: for j = 1 : vi × n do

6: α = [α, i]

7: end for

8: end for

9: β = []

10: for i = 1 : max(h) do

11: for j = 1 : hi × m do

12: β = [β, i]

13: end for

14: end for

15:

16: for i = 1 : n do ⊲ Construction

17: c = random subset of β, of size αi

18: for j = 1 : αi do

19: H(cj , i) = 1

20: end for

21: α = α − c

22: end

this is the code

By:

sumairon March 5, 2017at 9:31 pm