summaryrefslogtreecommitdiff
path: root/752/CH12/EX12.4.1/12_4_1.sce
blob: 18a95e6098704fc1e2236c4093ecd1e9668579c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
//page no 419
// problem no 12.4.1
//a binary polar waveform with following specifications are given
Vs_Vn=4;//SNVR
a=erf(4/sqrt(2));
b=erfc(4/sqrt(2));
Pbe=1/2 * b;// bit error probability
disp(a);
disp(b);
disp(Pbe,'The bit error probability');