// Viterbi Functions Declarations // // void GSM_enc(int*,int*, short); void viterbi_upck(int *, int *, short); void GSM_…
viterbi译码 源代码
接收到的符号首先经过解调器判决,输出0、1码,然后再送往译码器的形式,称为硬判决译码。即编码信道的输出是0、1的硬判决信息。
%metric.m %viterbi解码子程序 function distance=metric(x,y) if x==y distance=0; else distance=1; end %switch(y) %case 0 %if x=…
clear all; g=[1 0 0 0 0 1 0 1 1 0 1 0 1 0 1 1]; k0=1; %b=rand(1024,8); input=[1 0 1 1 0 1 1 0 0 1 0 0 1 0 1]; %input=fl…
#Makefile for Viterbi decoder test programs. Edit to taste. CC=gcc CFLAGS=-O9 all: vittest vittest27 vittest37 encode27 encod…
#Makefile for Viterbi decoder test programs. Edit to taste. CC=gcc CFLAGS=-O9 all: vittest vittest27 vittest37 encode27 encode37 …
clear all; g=[1 0 0 0 0 1 0 1 1 0 1 0 1 0 1 1]; k0=1; %b=rand(1024,8); input=[1 0 1 1 0 1 1 0 0 1 0 0 1 0 1]; %input=fl…
从368开始是课文翻译 从385开始是练习答案 从30开始是课文
源文件需用javaCC编译
在编译设置中,在“C/C++”中加/Gh选项。
翻译工具 v0.94