diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /752/CH12/EX12.13.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '752/CH12/EX12.13.3')
-rwxr-xr-x | 752/CH12/EX12.13.3/12_13_3.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/752/CH12/EX12.13.3/12_13_3.sce b/752/CH12/EX12.13.3/12_13_3.sce new file mode 100755 index 000000000..536d6fbd6 --- /dev/null +++ b/752/CH12/EX12.13.3/12_13_3.sce @@ -0,0 +1,14 @@ +clc;
+//page no 454
+//problem no 12.13.3
+SN_dB=9;
+SNR=10^(SN_dB/10);
+PbeU=1/2 * (1-erf(sqrt(SNR)));
+BERu=PbeU;
+disp(BERu,'a)The bit error probability');
+n=10;k=n-1;
+r=k/n;
+SNR1=r*SNR;
+PbeC=1/2 * (1-erf(sqrt(SNR1)));
+BERc=(n-1)*PbeC^2;
+disp(BERc,'b)The bit error probability');
\ No newline at end of file |