# LDPC-1
**Repository Path**: cmy_program/LDPC-1
## Basic Information
- **Project Name**: LDPC-1
- **Description**: C and MATLAB implementation for LDPC encoding and decoding
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 1
- **Created**: 2021-12-10
- **Last Updated**: 2024-06-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
LDPC codes
===================
This repository provides C and MATLAB implementations for LDPC codes.
> For an overview of LDPC codes, please see: [LDPC Wikipedia page](https://en.wikipedia.org/wiki/Low-density_parity-check_code) or the book [Modern Coding Theory](https://www.amazon.com/Modern-Coding-Theory-Tom-Richardson/dp/0521852293) by Tom Richardson and RĂ¼diger Urbanke.
Overview of what is provided
----------
- WiFi (IEEE 802.11n) LDPC code construction
- Encoding by back-substitution for WiFi LDPC codes
- Iterative belief propagation (BP) Decoding (including min-sum)
- AWGN simulations for BPSK, 4-ASK, 8-ASK (equivalently QPSK, 16-QAM, and 64-QAM)
> It is worth emphasizing the code is not necessarily specification compliant with IEEE 802.11n. In particular, aspects such as puncturing, padding, and stream parsing are not implemented.
Decoding performance
------
The figure above shows the performance of LDPC codes for various rates and constellation choices over AWGN channel.
The results are using LdpcC code, and are based on 50K runs.
Runtime performance C and MATLAB
-----
The run time comparison is as follows (run on a single macbook pro 2015):
Parameters | LdpcC | LdpcM | Speedup C/M |
---|---|---|---|
N = 648, rate = 1/2 | 67 | 12 | 5.5x |
N = 1296, rate = 1/2 | 31 | 5.5 | 5.5x |
N = 1944, rate = 1/2 | 21 | 2.81 | 7.5x |