summaryrefslogtreecommitdiff
path: root/3788/CH5/EX5.2.3/Ex5_2_3.sce
blob: 76100e6c640f42fe1df9c0336c994c8637883d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)