blob: 02cd4229ffdff55dd2287097bf2281cb50259856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Chapter-9 example 4
//=============================================================================
clc;
clear;
//input data
Da = 2;//diameter of parabolic antenna in m
F = 2*10^9;//radar operating frequency in hz
Vo = 3*10^8;//velocity of EM wave in m/s
//Calculations
lamda = Vo/F;//wavelength
Gp = 6.4*(Da/lamda)^2//gain of parabolic reflector
G = 10*log10(Gp)//gain in dB
//Output
mprintf('Gain of parabolic reflector is %3.2f dB',G);
//=============end of the program==============================================
|