summaryrefslogtreecommitdiff
path: root/3446/CH9/EX9.7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH9/EX9.7
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3446/CH9/EX9.7')
-rw-r--r--3446/CH9/EX9.7/Ex9_7.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3446/CH9/EX9.7/Ex9_7.sce b/3446/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..585b484fd
--- /dev/null
+++ b/3446/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,23 @@
+// Exa 9.7
+// To determine modulation scheme to be used and Eb/No.
+
+clc;
+clear all;
+
+Rb=144; //data rate in kbps
+BW=36; //in MHz
+Pb=3*10^-5;//probability of bit error
+
+//solution
+Seff=Rb/BW; //spectral efficiency in bps/Hz
+
+ M=2^(Rb/BW); //since the channel is band limited
+ disp("16-QAM (refer Equation 9.66) should be used as it is more efficient than 16-PSK (refer Equation 9.50)");
+disp("");
+
+//since Q[sqrt(2*Eb_No)]=(1/2)*erfc[sqrt(Eb_No)] // refer page no 257 equ 9.35
+deff('y=f(x)','y=(3/8)*erfc(sqrt((2/5)*x))-Pb'); //from eqn 9.66 and 9.35
+
+[x,v,info]=fsolve(0.1,f); //x=Eb_No
+
+printf('For a rectangular constellation (refer Figure 9.12), with a Gaussian channel and matched filter reception, the calculated Eb/No value is %.1f dB\n ',10*log10(x));