diff options
Diffstat (limited to '3739/CH5/EX5.9/EX5_9.sce')
-rw-r--r-- | 3739/CH5/EX5.9/EX5_9.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3739/CH5/EX5.9/EX5_9.sce b/3739/CH5/EX5.9/EX5_9.sce new file mode 100644 index 000000000..1268d6c0f --- /dev/null +++ b/3739/CH5/EX5.9/EX5_9.sce @@ -0,0 +1,15 @@ +//Chapter 5, Example 5.9, page 202
+clc
+//Initialisation
+pr=-108.7 //received signal power in dB
+fa=50 //noise tempreture
+b=2700 //frequency in Hz
+N=5 //noise figure in dB
+
+//Calculation
+snr=pr-fa-(10*log10(b))+204 //signal to noise ratio
+snr1=snr-N
+
+//Results
+printf("Received signal to noise ratio = %.1f dB",snr)
+printf("\nOutput signal to noise ratio = %.1f dB",snr1)
|