P. 1
DC Solutions Symon Haykins

DC Solutions Symon Haykins

|Views: 67|Likes:
Published by Rama Hareesh

More info:

Published by: Rama Hareesh on Dec 30, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/30/2013

pdf

text

original

1 //Caption : Fano metric for binary symmetric channel

using convolutional code
2 //Example8 .11: Convolutional code for binary

symmetric channel

3 clc;
4 r = 1/2; //code rate
5 n =2; //number of bits
6 pe = 0.04; // transition probility
7 p = 1-pe;// probability of correct reception
8 gama_1 = 2*log2(p)+2*(1-r); //branch metric for

correct reception
9 gamma_2 = log2(pe*p)+1; //branch metric for any one

correct recption
10 gamma_3 = 2*log2(pe)+1; //branch metric for no

correct reception
11 disp(gama_1 , ’ branch metric for correct reception ’)
12 disp(gamma_2 , ’ branch metric for any one correct

recption ’)
13 disp(gamma_3 , ’ branch metric for no correct reception

’)
14 //branch metric for correct reception
15 //

0.8822126
16 // branch metric for any one correct recption
17 // − 3.7027499
18 // branch metric for no correct reception
19 // − 8.2877124

93

Chapter 9

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->