diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH4/EX4.5 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH4/EX4.5')
-rw-r--r-- | 3446/CH4/EX4.5/Ex4_5.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3446/CH4/EX4.5/Ex4_5.sce b/3446/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..bc3778440 --- /dev/null +++ b/3446/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,27 @@ +// Exa 4.5
+// To determine choice of modulation scheme if no-error correction coding is used.
+
+clc;
+clear all;
+
+S_No=53; //dB-Hz
+R=9.6*10^3; //bps
+BW=4.8*10^3; //Khz
+Pb=10^-5; //BER<=10^-5;
+
+//solution
+disp("Since the required data rate of 9.6 kbps is more than the available bandwidth of 4.8 kHz, the channel is bandwidth-limited.");
+Eb_No=S_No-10*log10(R); //dB
+// Try for 8-PSK modulation scheme
+M=8;
+Ps=log2(M)*Pb; //Max ps
+Es_No=log2(M)*10^(0.1*Eb_No);
+//Ps(8)=2*Q(sqrt(2*Es_No)*sin(%pi/8));
+//2*Q(sqrt(2*Eb_No))=erfc(sqrt(Eb_No)); //Refer EQn C(7) from appendix C
+
+Ps8=erfc(sqrt(Es_No)*sin(%pi/8));
+disp("");
+printf(' Symbol error rate is given as %.5f \n ',Ps);
+printf('The ratio of signal energy to noise is %.2f \n ',Es_No);
+printf('Symbol error rate for 8-PSK is %.5f \n ',Ps8);
+disp("As symbol error rate for 8-PSK modulation is lower than threshold value. so, We can use 8-PSK modulation.")
|