summaryrefslogtreecommitdiff
path: root/1997/CH9/EX9.18/example18.sce
blob: b7b1a2c2e1d1b5d2205ba9a9c75c2bde14b05828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter-9 example 18
//=============================================================================
clc;
clear;
//input data
//Aperture size = 10*lamda
//Calculations
//Gp = (4.5*W*D)/(lamda*lamda);
//Gp = (4.5*(10*lamda)*(10*lamda))/(lamda*lamda);
Gp   = (4.5*10*10);//power gain of square horn antenna
G    = 10*log10(Gp);//power gain in dB

//Output
mprintf('Power Gain of Square Horn Antenna is %3.2f dB',G);
//=============end of the program==============================================