blob: de63ad2537ff40a4e43970d0f9e406827c3416f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//null to null beamwidth and the gain power
//given
clc
HPBW=6//degree//half power beamwidth
f=6d+9//hertz
v=3d+8
NNBW=2*HPBW//degree//null to null beamwidth
lemda=v/f//metre
Da=70*(lemda/HPBW)//degree//half power beamwidth
gp=6.4*(Da/lemda)^2
gp_decibles=10*log10(gp)//changing to decibles
gp_decibles=round(gp_decibles*100)/100///rounding off decimals
disp(gp_decibles,NNBW,'the beamwidth between first null and gain power in degree and decibles')//degrees,decibles
|