Vous êtes sur la page 1sur 1

clear all;

N=4;
ref=[0 0;0 1;1 0;1 1];
courPreEtat=[0 0 0 0;0 0 0 0;1 1 0 0;0 0 1 1];
MI=[1001];
MT=[1 1 1 0 1 1 1 1];
n=[0 0 1 0 0 0 0 0];
y=mod(MT + n,2);
MR=[1 1 0 0 1 1 1 1];
pathMetric=zeros(4,1);
survivorPath_v=zeros(4,length(y)/2);
for i=1:length(y)/2
r=MR(2*i-1:2*i);
rv=kron(ones(4,1),r)
hammingDist=sum(xor(rv,ref),2)
end
kooora http://www.tvonline-live.com/sport/bein-sport-1-en-direct-live-streaming/
#_

Vous aimerez peut-être aussi