diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2282/CH6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2282/CH6')
-rwxr-xr-x | 2282/CH6/EX6.1/ex6_1.sce | 17 | ||||
-rwxr-xr-x | 2282/CH6/EX6.2/ex6_2.sce | 21 | ||||
-rwxr-xr-x | 2282/CH6/EX6.3/ex6_3.sce | 23 | ||||
-rwxr-xr-x | 2282/CH6/EX6.4/ex6_4.sce | 20 | ||||
-rwxr-xr-x | 2282/CH6/EX6.5/ex6_5.sce | 11 | ||||
-rwxr-xr-x | 2282/CH6/EX6.6/ex6_6.sce | 10 | ||||
-rwxr-xr-x | 2282/CH6/EX6.7/ex6_7.sce | 7 |
7 files changed, 109 insertions, 0 deletions
diff --git a/2282/CH6/EX6.1/ex6_1.sce b/2282/CH6/EX6.1/ex6_1.sce new file mode 100755 index 000000000..ce6adaa37 --- /dev/null +++ b/2282/CH6/EX6.1/ex6_1.sce @@ -0,0 +1,17 @@ +// Example 6.1, page no-230
+clear
+clc
+t=20 //TDMA frame length in ms
+lc=352 //length of carrier and clock recovery frequency in bits
+lu1=48 //length of unique word in bits
+lo=510 //length of order wire channel in bits
+lm= 256 //length of management channel in bits
+lt=320 // length of transmit timming channel in bits
+ls1=24 // length of service channel in bits
+gt=64 // Guard time in bits
+rb=2 // reference burst
+
+lr=lc+lu1+lo+lm+lt
+tb=lc+lu1+lo+ls1
+tob=(lr*rb)+(tb*t)+((t+rb)*gt)
+printf("(a)\nThe length of reference burst(from given data) is %d bits\n\n(b)\nThe length of traffic burst premable(from given data)is %d bits\n\n(c)\nTotal number of overhead bits is %d bits",lr,tb,tob)
diff --git a/2282/CH6/EX6.2/ex6_2.sce b/2282/CH6/EX6.2/ex6_2.sce new file mode 100755 index 000000000..bbc2b365a --- /dev/null +++ b/2282/CH6/EX6.2/ex6_2.sce @@ -0,0 +1,21 @@ +// Example 6.2, page no-230
+clear
+clc
+t=20 //TDMA frame length in ms
+lc=352 //length of carrier and clock recovery frequency in bits
+lu1=48 //length of unique word in bits
+lo=510 //length of order wire channel in bits
+lm= 256 //length of management channel in bits
+lt=320 // length of transmit timming channel in bits
+ls1=24 // length of service channel in bits
+gt=64 // Guard time in bits
+rb=2 // reference burst
+br=90*10^6 //burst bit rate 90Mbps
+
+bfr=br*t*10^-3
+lr=lc+lu1+lo+lm+lt
+tb=lc+lu1+lo+ls1
+tob=(lr*rb)+(tb*t)+((t+rb)*gt)
+feff=(bfr-tob)*100/bfr
+feff=ceil(feff*100)/100
+printf("Frame efficiency = %.2f%%",feff)
diff --git a/2282/CH6/EX6.3/ex6_3.sce b/2282/CH6/EX6.3/ex6_3.sce new file mode 100755 index 000000000..ea88f708b --- /dev/null +++ b/2282/CH6/EX6.3/ex6_3.sce @@ -0,0 +1,23 @@ +// Example 6.2, page no-230
+clear
+clc
+t=20 //TDMA frame length in ms
+lc=352 //length of carrier and clock recovery frequency in bits
+lu1=48 //length of unique word in bits
+lo=510 //length of order wire channel in bits
+lm= 256 //length of management channel in bits
+lt=320 // length of transmit timming channel in bits
+ls1=24 // length of service channel in bits
+gt=64 // Guard time in bits
+rb=2 // reference burst
+br=90*10^6 //burst bit rate 90Mbps
+dr= 64*10^3 //data rate 64 kbps
+bfr=br*t*10^-3
+lr=lc+lu1+lo+lm+lt
+tb=lc+lu1+lo+ls1
+tob=(lr*rb)+(tb*t)+((t+rb)*gt)
+feff=(bfr-tob)*100/bfr
+feff=ceil(feff*100)/100
+vsb=dr*t*10^-3
+x=bfr*feff/100
+printf("The number of bits in a frame for a voice sub-burst is %d\n\n The total no of bits available in a frame for carrying traffic is %d\n\n Maximum no of PCM voice channels in a frame is %d channels",vsb,x,x/vsb)
diff --git a/2282/CH6/EX6.4/ex6_4.sce b/2282/CH6/EX6.4/ex6_4.sce new file mode 100755 index 000000000..488c35d86 --- /dev/null +++ b/2282/CH6/EX6.4/ex6_4.sce @@ -0,0 +1,20 @@ +// Example 6.4, page no-231
+clear
+clc
+
+R=42150 //orbital radius of satellite
+oi=0.25/100 // orbit inclination
+acc=0.3 //error of 0.3 degree
+c=3*10^8 // speed of light
+x=oi*R
+x=ceil(x*10)/10
+y=R*2*%pi*acc/360
+y=ceil(y*10)/10
+z=sqrt(x^2+y^2)
+z=ceil(z*10)/10
+delay=z*10^6/c
+delay=floor(delay*1000)/1000
+pd=2*delay
+printf("variation in alitude caused byorbit inclination = %.1fkm\n variation due to station-keeping error of 0.3° = %.1fkm",x,y)
+printf("\n Both these errors will introduce a maximum range variation of %.1fkm\n This cause a one-way propagation delay of %.3fms\n Round trip propagation delay =%.2fms\n Dopler Shift = %.2f ms in 8h=56.25 ns/s",z,delay,delay*2,pd)
+
diff --git a/2282/CH6/EX6.5/ex6_5.sce b/2282/CH6/EX6.5/ex6_5.sce new file mode 100755 index 000000000..98d7e7385 --- /dev/null +++ b/2282/CH6/EX6.5/ex6_5.sce @@ -0,0 +1,11 @@ +// Example 6.5, page no-238
+clear
+clc
+
+de=40 //Doppler effect variation due to station-keeping errors in ns/s
+d=280 //Sttelite round trip delay in ms
+c=20/100 // DS-CDMA signals should not exceed 20% of the chip duration
+
+te=de*10^-9*d*10^-3
+tc=te/c
+printf("Chip Duration, Tc = %.0f ns \n This gives maximum chip rate as (1/56)Gbps = 1000/56 Mbps = %.3f Mbps",tc*10^9,1000/56)
diff --git a/2282/CH6/EX6.6/ex6_6.sce b/2282/CH6/EX6.6/ex6_6.sce new file mode 100755 index 000000000..0318d8efc --- /dev/null +++ b/2282/CH6/EX6.6/ex6_6.sce @@ -0,0 +1,10 @@ +// Example 6.6, page no-238
+clear
+clc
+
+cr=25 //Chip rate is 25 Mbps
+c=20/100 // DS-CDMA signals should not exceed 20% of the chip duration
+d=1000/cr //chip duration in ns
+tr=c*d
+x=tr/(280*10^-3)
+printf("The maximum allowable timing error per satellite round trip is %.0f ns\n This %.0f ns error is to occur in 280 ms.\n Therefore, maximum permissible Dopler effect variation is %.2f ns/s",tr,tr,x)
diff --git a/2282/CH6/EX6.7/ex6_7.sce b/2282/CH6/EX6.7/ex6_7.sce new file mode 100755 index 000000000..48f3176b7 --- /dev/null +++ b/2282/CH6/EX6.7/ex6_7.sce @@ -0,0 +1,7 @@ +// Example 6.7, page no-238
+clear
+clc
+cr=20*10^6 //chip rate in Mbps
+ir= 20*10^3 //information bit rate
+g=10*log10((cr)/(ir))
+printf("Noise reduction achhievable = Processing gain = %.0f dB",g)
|