Location:
Search - hammgen
Search list
Description: 一个有关海明码的原程序!!适合教师实验课讲授!-A Hamming code of the original program! ! Experimental courses for teachers to teach!
Platform: |
Size: 2048 |
Author: xuqun |
Hits:
Description: decoder of Hamming
Use a [7,4] Hamming code.
m = 3 n = 2^m-1 k = n-m
parmat = hammgen(m) Produce parity-check matrix.
trt = syndtable(parmat) Produce decoding table.
recd = [1 0 0 1 1 1 1] Suppose this is the received vector.
syndrome = rem(recd * parmat ,2)
syndrome_de = bi2de(syndrome, left-msb ) Convert to decimal.-decoder of Hamming
Use a [7,4] Hamming code.
m = 3 n = 2^m-1 k = n-m
parmat = hammgen(m) Produce parity-check matrix.
trt = syndtable(parmat) Produce decoding table.
recd = [1 0 0 1 1 1 1] Suppose this is the received vector.
syndrome = rem(recd* parmat ,2)
syndrome_de = bi2de(syndrome, left-msb ) Convert to decimal.
Platform: |
Size: 69632 |
Author: le thanh tan |
Hits:
Description: 信源函数
randerr 产生比特误差样本
randint 产生均匀分布的随机整数矩阵
randsrc 根据给定的数字表产生随机矩阵
wgn 产生高斯白噪声
信号分析函数
biterr 计算比特误差数和比特误差率
eyediagram 绘制眼图
scatterplot 绘制分布图
symerr 计算符号误差数和符号误差率
信源编码
compand mu律/A律 压缩/扩张
dpcmdeco DPCM(差分脉冲编码调制)解码
dpcmenco DPCM编码
dpcmopt 优化DPCM参数
lloyds Lloyd法则优化量化器参数
quantiz 给出量化后的级和输出值
误差控制编码
bchpoly 给出二进制BCH码的性能参数和产生多项式
convenc 产生卷积码
cyclgen 产生循环码的奇偶校验阵和生成矩阵
cyclpoly 产生循环码的生成多项式
decode 分组码解码器
encode 分组码编码器
gen2par 将奇偶校验阵和生成矩阵互相转换
gfweight 计算线性分组码的最小距离
hammgen 产生汉明码的奇偶校验阵和生成矩阵
rsdecof 对Reed-Solomon编码的ASCII文件解码-#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <float.h>
#include <string.h>
#include <stdarg.h>
#include "svm.h"
Platform: |
Size: 5318656 |
Author: little863 |
Hits: