summaryrefslogtreecommitdiff
path: root/752/CH12/EX12.4.2/12_4_2.sce
blob: 558fd3366ba71db132a22973a46464dbee60af9d (plain)
1
2
3
4
5
6
7
8
9
10
clc;
//page no 420
//problem no 12.4.2
//a binary unipolar waveform with following specifications are given
A=4;//max value of received signal voltage
Vn=0.5;//rms noise voltage
Vth=2;//Threshold voltage for the comparator
b=erfc(4/sqrt(2));
Pbe=1/2 * b;// bit error probability
disp(Pbe,'The bit error probability');