www.pudn.com > tryGUI.rar > vit_test.m


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=floor(2*rand(1024,8)); 
%input=b; 
 
a=cnv_encd(g,k0,input); 
 
 
decoder_output=viterbi(g,k0,a)