//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=')