From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 851/CH2/EX2.5/Example2_5.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 851/CH2/EX2.5/Example2_5.sce (limited to '851/CH2/EX2.5/Example2_5.sce') diff --git a/851/CH2/EX2.5/Example2_5.sce b/851/CH2/EX2.5/Example2_5.sce new file mode 100755 index 000000000..84e451759 --- /dev/null +++ b/851/CH2/EX2.5/Example2_5.sce @@ -0,0 +1,11 @@ +//clear// +//Caption:Binary Symmetric Channel +//Example2.5: Binary Symmetric Channel +clear; +clc; +close; +p = 0.4; //probability of correct reception +pe = 1-p;//probility of error reception (i.e)transition probility +disp(p,'probility of 0 receiving if a 0 is sent = probility of 1 receiving if a 1 is sent=') +disp('Transition probility') +disp(pe,'probility of 0 receiving if a 1 is sent = probility of 1 receiving if a 0 is sent=') -- cgit