⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.h

📁 介绍了一种串行LDPC码的编码器和译码器的实现形式 C++环境下编写。有些地方还需完善
💻 H
字号:
#include  <iostream.h>
#include  <string.h>
#include  <malloc.h>
#include  <stdlib.h>
#include  <stdio.h>
#include  <stdio.h>
#include  <time.h>
#include  <math.h>

#define Totalblock       10000   //the number of total block of the code prcessed 
#define EncodedLength    1008    //encoding length
#define InfoLength       504     //information length
#define ParityCheckNum   504     //
#define G_RowNum         281     //row number the generation
#define H_ColNum         6       //colomn number of the check matrix
#define CodeRate         0.5

#define max_iter         80       // Maximum number of iteratons of decoding to do 
#define limit            1e-100
#define pi               3.1415926535897932384626
#define TOOLARGE         10
#define TOOSMALL         1e-5


void simulation();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -