blob: 84e451759d772f737af87a620dfb8c331f6f1b40 (
plain)
1
2
3
4
5
6
7
8
9
10
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=')
|