Add (128,82) ldpc code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2016-02-25 14:42:10 +00:00
parent 3b3288afa3
commit e867373f18
4 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -4,13 +4,13 @@
n=128
k=80
m=$((n-k))
niterations=5
niterations=10
set -e # Stop if an error occurs
rand-src ldpc.src 2 "$k"x100000
for i in `seq 1000 2000`
for i in `seq 1 1000`
do
seed=$i
echo seed $seed

View File

@ -10,16 +10,16 @@ set -e # Stop if an error occurs
#set -v # Echo commands as they are read
n=128
k=82
k=80
m=$((n-k))
seed=182
ntrials=10000
seed=873
ntrials=1000000
niterations=10
rate=$(echo "scale=5; $k/$n" | bc)
echo n=$n k=$k rate=$rate m=$m
make-ldpc ldpc.pchk "$m" "$n" $seed evenboth 9x3/1x4 no4cycle
make-ldpc ldpc.pchk "$m" "$n" $seed evenboth 120x3/8x4 no4cycle
make-gen ldpc.pchk ldpc.gen sparse
rand-src ldpc.src 1 "$k"x"$ntrials"