📄 readme.txt
字号:
The information on the code to be simulated must be input in the definition
file "def.h" in addition to using the corresponding generator matrix
Example:
A BCH(32,6,16) is to be simulated.
(1) The "def.h" file should contain the following three lines:
#define N 32
#define K 6
#define D_H 16
(2) Assume that order-5 decoding is to be simulated. Then compile (linux) as:
gcc -O2 osd_order5.c order5.c -lm
(3) Execution of the simulation program:
a.out genmat.32.06.16 ber.data -5 -2 1 100000 12344567
Simulation of soft-decision decoding with ordered statistics
This is a (32,6,16) linear code with generator matrix:
(IMPORTANT NOTE: The matrix MUST be in systematic form)
10000011100100010101111011010011
01000010010110011111000110111010
00100010101111011010011000001111
00010010110011111000110111010100
00001001011001111100011011101010
00000111001000101011110110100111
-5.000 1.2875000e-02
-4.000 3.7500000e-03
-3.000 8.9000000e-04
-2.000 8.0000000e-05
R.H. Morelos-Zaragoza, The Art of Error Correcting Coding, Wiley, 2002.
------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -