blob: 1dd452dfc8d516df67f66cbb8ea0c38cad4688d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Chapter-9 example 15
//=============================================================================
clc;
clear;
//input data
//Da = 6*lamda;
//Calculations
//Gp = 6.4*(Da/lamda)^2; //power gain
//Gp = 6.4*(6*lamda/lamda)^2 //power gain of parabolic reflector
Gp =6.4*(6)^2;
G = 10*log10(Gp)//gain in dB
//Output
mprintf('Gain of parabolic reflector is %3.2f dB\n',G);
//=============end of the program==============================================
|