diff options
Diffstat (limited to '851/CH2/EX2.5')
-rwxr-xr-x | 851/CH2/EX2.5/Example2_5.sce | 11 |
1 files changed, 11 insertions, 0 deletions
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=')
|