summaryrefslogtreecommitdiff
path: root/1895/CH6/EX6.8/EXAMPLE6_8.SCE
blob: cc0a8b4c017500f1f4d574308736828b24b659a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.8(PAGENO 297)");

//given
R_a = 50//antenna resistance
R_eq = 30//equivalent noise resistance of receiver
T_0 = 290//initial temperature in degree kelvin
//calculations
F = 1+(R_eq/R_a);//noise figure
F_dB = 10*log10(F)//noise figure in decibels
T_eq = T_0*(F-1)//equivalent temperature

//results
printf("\n\ni.Noise figure in decibels = %.2f dB",F_dB);
printf("\n\nii.Equivalent temperature  = %.2f degree kelvin",T_eq)