diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /851/CH2/EX2.5/Example2_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '851/CH2/EX2.5/Example2_5.sce')
-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=')
|