summaryrefslogtreecommitdiff
path: root/3446/CH6/EX6.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH6/EX6.3
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/CH6/EX6.3')
-rw-r--r--3446/CH6/EX6.3/Ex6_3.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3446/CH6/EX6.3/Ex6_3.sce b/3446/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..8f8ecf94e
--- /dev/null
+++ b/3446/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,22 @@
+// Exa 6.3
+// To calculate spectral efficiency of TDMA.
+
+clc;
+clear all;
+
+Tf=40; //Frame duration in msec
+Mt=6; // Frames per slot
+Bu=30; //bandwidth(KHz) of an individual user during his or her time slot
+Nu=395;//  number of users sharing the same time slot in the system, but having access to different frequency sub-bands
+Bw=12.5; // in MHz
+DR=16.2;//Data rate in kbps
+FDur=40; // Frame duration in msec
+slots=6; //No of slots per time frame
+IndiRate=16.2; //Individual data rate in kbps
+Srate=13; //Speech rate in kbps
+
+//solution
+TimeSlot=(Srate/IndiRate)*(FDur/slots);
+Seff=TimeSlot*slots*Bu*Nu/(FDur*Bw*1000);
+printf('Multiple access spectral efficiency of TDMA is %.2f\n ',Seff);
+printf('The overhead portion of the frame is %d percent \n ',round((1-Seff)*100));