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.4/12_13_4.sce | |
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.4/12_13_4.sce')
-rwxr-xr-x | 752/CH12/EX12.13.4/12_13_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/752/CH12/EX12.13.4/12_13_4.sce b/752/CH12/EX12.13.4/12_13_4.sce new file mode 100755 index 000000000..515147f96 --- /dev/null +++ b/752/CH12/EX12.13.4/12_13_4.sce @@ -0,0 +1,16 @@ +clc;
+//page no 457
+//problem no 12.13.4
+//Tx link
+SN_dB=8;
+SNR=10^(SN_dB/10);
+//a)Determination of bit error rate
+PbeU=0.5*(1-erf(sqrt(SNR)));
+BER_U=PbeU;
+disp(BER_U,'a)The bit-error rate is');
+//b)new bit error rate
+n=15;k=11;t=1;r=k/n;
+SNR_n=r*SNR;
+PbeC=0.5*(1-erf(sqrt(SNR_n)));
+BER_C=((factorial(n-1))*PbeC^(t+1))/((factorial(t))*(factorial(n-t-1)));
+disp(BER_C,'The new bit error rate is');
\ No newline at end of file |