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