summaryrefslogtreecommitdiff
path: root/752/CH12/EX12.13.3
diff options
context:
space:
mode:
Diffstat (limited to '752/CH12/EX12.13.3')
-rwxr-xr-x752/CH12/EX12.13.3/12_13_3.sce14
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