summaryrefslogtreecommitdiff
path: root/3788/CH5/EX5.2.3/Ex5_2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3788/CH5/EX5.2.3/Ex5_2_3.sce')
-rw-r--r--3788/CH5/EX5.2.3/Ex5_2_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3788/CH5/EX5.2.3/Ex5_2_3.sce b/3788/CH5/EX5.2.3/Ex5_2_3.sce
new file mode 100644
index 000000000..76100e6c6
--- /dev/null
+++ b/3788/CH5/EX5.2.3/Ex5_2_3.sce
@@ -0,0 +1,16 @@
+//Example 5.2.3
+//Calculate the SN ratio if CN = 10dB
+
+//Variables
+clc
+clear
+delFpk = 3.6
+Fmax = 4.8
+CN = 10
+delFpeak = 3.6
+
+//result
+Brf = 2*(delFpk + Fmax)
+SNout = CN +10*log10(Brf/Fmax) + 20*log10(delFpeak/Fmax) + 1.8
+printf("The SN ratio is %f dB,if the CN ratio for \n the signal from the satellite is 10dB",SNout)
+