summaryrefslogtreecommitdiff
path: root/287/CH3/EX3.2/Exa3_2.sci
blob: f5d98e013770feac256671d14e9878419821a8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Determine the efficiency of the TDMA system

e = 13;
d = 16.2
Tf = 40;
Mt = 6;
Bu = 30;
Nu = 395;
Bw = 12.5e+3;

t = (e/d)*(Tf/Mt);
Na = ((t*Mt)/Tf)*((Bu*Nu)/Bw)
Op = (1 - Na)*100;

disp(t, 'Time slot duration (in ms)')
disp(Op, 'Percentage Overhead portion of the frame (in %)')