summaryrefslogtreecommitdiff
path: root/2081/CH11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2081/CH11
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2081/CH11')
-rwxr-xr-x2081/CH11/EX11.10/Ex11_10.sce20
-rwxr-xr-x2081/CH11/EX11.2/Ex11_2.sce4
-rwxr-xr-x2081/CH11/EX11.3/Ex11_3.sce6
-rwxr-xr-x2081/CH11/EX11.4/Ex11_4.sce4
-rwxr-xr-x2081/CH11/EX11.5/Ex11_5.sce10
-rwxr-xr-x2081/CH11/EX11.7/Ex11_7.sce18
6 files changed, 62 insertions, 0 deletions
diff --git a/2081/CH11/EX11.10/Ex11_10.sce b/2081/CH11/EX11.10/Ex11_10.sce
new file mode 100755
index 000000000..56c499931
--- /dev/null
+++ b/2081/CH11/EX11.10/Ex11_10.sce
@@ -0,0 +1,20 @@
+BWupl=890
+BWupu=915
+BWdwl=935
+BWdwu=960
+BWup=BWupu-BWupl//bandwidth uplink
+BWdw=BWdwu-BWdwl//bandwidth downlink
+if BWup==BWdw then
+ disp(BWup,'in either case the maximum frequency hop or change from one frame to the next in MHz')
+
+else
+ disp(BWup,'in uplink case the maximum frequency hop or change from one frame to the next in MHz')
+ disp(BWdw,'in downlink case the maximum frequency hop or change from one frame to the next in MHz')
+end
+mecfup=BWupl+(BWupu-BWupl)/2//uplink transmission
+mfhup=BWup/mecfup
+disp(mfhup*100,'maximum frequency hop for uplink transmission in %')
+
+mecfdw=BWdwl+(BWdwu-BWdwl)/2//downlink transmission
+mfhdw=BWdw/mecfdw
+disp(mfhdw*100,'maximum frequency hop for downlink transmission in %')
diff --git a/2081/CH11/EX11.2/Ex11_2.sce b/2081/CH11/EX11.2/Ex11_2.sce
new file mode 100755
index 000000000..e5cd5e8f8
--- /dev/null
+++ b/2081/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,4 @@
+Rb=270.833*10^3//channel data rate
+Tb=1/Rb//baseband symbol duration
+BW=.3/Tb//bandwidth 3dB
+disp(BW,'3-dB bandwidth in Hz for a Gaussian LPF used to produce B*Ts=0.3GMSK modulation in GSM standard is ')
diff --git a/2081/CH11/EX11.3/Ex11_3.sce b/2081/CH11/EX11.3/Ex11_3.sce
new file mode 100755
index 000000000..e592944e3
--- /dev/null
+++ b/2081/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,6 @@
+Rb=270.833*10^3//channel data rate
+C=Rb/0.4//maximum data rate
+B=200*10^3
+SIN=2^(C/B)-1//from C=B*log2(1+S/N) (shannon's capacity formula)
+SINdB=10*log10(SIN)
+disp(SINdB,'the corresponding theoretical S/N in dB is')
diff --git a/2081/CH11/EX11.4/Ex11_4.sce b/2081/CH11/EX11.4/Ex11_4.sce
new file mode 100755
index 000000000..4e0b63fa5
--- /dev/null
+++ b/2081/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,4 @@
+BW=200*10^3
+CDR=270.833*10^3//channel data rate
+BWef=CDR/BW
+printf('bandwidth efficiency is= %.2f bps/Hz',BWef)
diff --git a/2081/CH11/EX11.5/Ex11_5.sce b/2081/CH11/EX11.5/Ex11_5.sce
new file mode 100755
index 000000000..35636018a
--- /dev/null
+++ b/2081/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,10 @@
+CDR=270.833*10^3
+Tb=1/CDR//time of a bit
+npslot=156.25
+Tslot=Tb*npslot//time of a slot
+nspf=8
+Tf=nspf*Tslot//time of a frame
+disp(Tb,'time duration of a bit Tb in secs')
+disp(Tslot,'time duration of a time slot Tslot in secs')
+disp(Tf,'time duration of a frame Tf in secs')
+disp(Tf,'time duration for a user occupying a single time slot between two succesive transmissions in secs')
diff --git a/2081/CH11/EX11.7/Ex11_7.sce b/2081/CH11/EX11.7/Ex11_7.sce
new file mode 100755
index 000000000..f1df07c96
--- /dev/null
+++ b/2081/CH11/EX11.7/Ex11_7.sce
@@ -0,0 +1,18 @@
+nuc1a=50
+ncrc=3
+nec1a=nuc1a+ncrc
+
+nuc1b=132
+nt=4
+nec1b=nuc1b+nt
+
+nc=nec1a+nec1b
+FECr=1/2
+nce=nc*1/FECr
+
+nc2=78
+net=nc2+nce
+
+Dur=20*10^-3//duration
+Gcbr=net/Dur//Gross channel bit rate
+disp(Gcbr,'Gross channel bit rate in bits/sec')