关于LDPC编/译码的方针平台。能随机产生信源和模拟高斯信道。

源代码在线查看: ex-dep

软件大小: 388 K
上传用户: invill
关键词: LDPC 译码 信源 模拟
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/bin/sh								# Examples of a how a parity check matrix with dependent rows is handled.								set -e  # Stop if an error occurs				set -v  # Echo commands as they are read								# CODE 1								make-pchk ex-dep.pchk 4 6 0:0 0:5 3:1 3:2				print-pchk -d ex-dep.pchk				echo 00011011 >ex-dep.src								# SPARSE REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen sparse				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src								# DENSE REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen dense				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src								# MIXED REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen mixed				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src								# CODE 2								make-pchk ex-dep.pchk 4 5 0:0 0:1 1:1 1:2 2:0 2:2 3:3 3:4				print-pchk -d ex-dep.pchk				echo 01 >ex-dep.src								# SPARSE REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen sparse				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src								# DENSE REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen dense				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src								# MIXED REPRESENTATION								make-gen ex-dep.pchk ex-dep.gen mixed				print-gen -d ex-dep.gen				encode ex-dep.pchk ex-dep.gen ex-dep.src ex-dep.enc; cat ex-dep.enc				verify ex-dep.pchk ex-dep.enc ex-dep.gen ex-dep.src							

相关资源