azel2phithetapat
将辐射模式从方位和高度coordinates to phi-theta coordinates
Syntax
Description
converts the antenna radiation pattern,pat_phitheta
= azel2phithetapat(pat_azel
,az
,el
)pat_azel
, from azimuth and elevation coordinates to the pattern,pat_phitheta
, in phi and theta coordinates.az
andel
are the azimuth and elevation angles at which thepat_azel
values are defined. Thepat_phitheta
matrix covers theta values from 0 to 180 degrees and phi values from 0 to 360 degrees in one degree increments. The function interpolates thepat_azel
matrix to estimate the response of the antenna in a given phi-theta direction.
also specifiespat_phitheta
= azel2phithetapat(___,'RotateZ2X',rotpatax
)rotpatax
to indicate the boresight direction of the pattern along thex-axis or thez-axis.
[
also returns vectorspat_phitheta
,phi_pat
,theta_pat
] = azel2phithetapat(___)phi_pat
andtheta_pat
containing the phi and theta angles at whichpat_phitheta
is sampled.