summaryrefslogtreecommitdiff
path: root/2409/CH12/EX12.19/Ex12_19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2409/CH12/EX12.19/Ex12_19.sce
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 '2409/CH12/EX12.19/Ex12_19.sce')
-rwxr-xr-x2409/CH12/EX12.19/Ex12_19.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2409/CH12/EX12.19/Ex12_19.sce b/2409/CH12/EX12.19/Ex12_19.sce
new file mode 100755
index 000000000..9915adb01
--- /dev/null
+++ b/2409/CH12/EX12.19/Ex12_19.sce
@@ -0,0 +1,25 @@
+
+//Variable declaration
+//For uplink
+Ps=-67.5 //Saturation flux density(dB)
+A0=-37 //Antenna aperture at 6GHz(dB)
+IBO=-11 //Input Backoff(dB)
+GTRs=-11.6 //Satellite saturation G/T (dB)
+k=-228.6 //Value of k(dB)
+
+//For Downlink
+EIRP=26.6 //Satellite EIRP(dB)
+OBO=-6 //output Backoff(dB)
+FSL=-196.7 //Free Space loss(dB)
+GTRe=40.7 //Earth station G/T(dB)
+
+//Calculation
+CNRu=Ps+A0+IBO+GTRs-k //Carrier to noise ratio for uplink(dB)
+CNRd=EIRP+OBO+FSL+GTRe-k//Carrier to noise ratio for downlink(dB)
+N0CR=10**(-CNRu/10)+10**(-CNRd/10) //Noise to carrier ratio
+CNR=-10*log10(N0CR) //Combined c/N0 ratio(dBHz)
+
+//results
+printf("The Carrier to noise ratio for uplink is %.2f dB",CNRu)
+printf("The Carrier to noise ratio for downlink is %.2f dB",CNRd)
+printf("The combined carrier to noise ratio is %.2f dBHz",CNR)