GithubHelp home page GithubHelp logo

lcrypto / lolipop_cycles_count Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 5.0 8 KB

T. R. Halford and K. M. Chugg Matlab implementation for LDPC codes cycles of girth, girth+2, girth+4 counting

MATLAB 100.00%
error-correcting-codes ldpc

lolipop_cycles_count's Introduction

Lolipop_cycles_count

The GitHub repository contains a MATLAB implementation of T. R. Halford and K. M. Chugg's algorithm for counting cycles of girth, girth+2, and girth+4 in Low-Density Parity-Check (LDPC) codes.

The tool is provided as a MATLAB script and can be easily used to count the cycles of different girths in LDPC codes. The tool takes an LDPC code matrix as input and outputs the number of cycles of various girths in the code.

To use the tool, simply provide an LDPC code parity-check matrix as input to the MATLAB script. The output will provide the number of cycles of girth, girth+2, and girth+4 in the code. This information can be useful for designing LDPC codes with specific properties or for analyzing the performance of existing LDPC codes.

Example of use:

H=qc2sparse('6_4_24.txt');

[g_ Ng_ Ng2_ Ng4_ Ng_per_u_ Ng2_per_u_ Ng4_per_u_ Ng_per_p_ Ng2_per_p_ Ng4_per_p_ ] = girth(H)

g - girth

Ng - number of cycles of size girth

Ng2 - number of cycles of size girth+2

Ng4 - number of cycles of size girth+4

Ng_per_u-number of cycles per Variable nodes (VNs)

Ng_per_p-number of cycles per Check nodes (CNs)

girthstat count statistics for QC-LDPC codes

just put circulant size, number of VN and CN

T. R. Halford and K. M. Chugg, β€œAn algorithm for counting short cycles in bipartite graphs,” IEEE Trans. Inform. Theory, vol. 52, no. 1, 2006 and https://www.slideshare.net/UsatyukVasiliy/enumerating-cycles-in-bipartite-graph-using-matrix-approach

lolipop_cycles_count's People

Contributors

lcrypto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.