diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /752/CH12/EX12.4.2/12_4_2.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '752/CH12/EX12.4.2/12_4_2.sce')
-rwxr-xr-x | 752/CH12/EX12.4.2/12_4_2.sce | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/752/CH12/EX12.4.2/12_4_2.sce b/752/CH12/EX12.4.2/12_4_2.sce index bef067f0a..558fd3366 100755 --- a/752/CH12/EX12.4.2/12_4_2.sce +++ b/752/CH12/EX12.4.2/12_4_2.sce @@ -1,9 +1,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
-Pbe=1/2 * b;// bit error probability
+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');
\ No newline at end of file |