From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3446/CH6/EX6.3/Ex6_3.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3446/CH6/EX6.3/Ex6_3.sce (limited to '3446/CH6/EX6.3') 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)); -- cgit