hpbw = beamwidth(aiant,frequency)
calculates and returns the half-power beamwidth of AI-based antenna object at the specified
frequency. Half-power beamwidth is the angular separation at which the magnitude of the
directivity pattern decreases by 3 dB from the peak of the main beam.
[hpbw,angles,plane] = beamwidth(aiant,frequency)
calculates and returns the half-power beamwidth, its lower and upper angular points, and
plane of calculation of AI-based antenna object at the specified frequency.
This example shows how to create an AI-based microstrip patch antenna operating at 1.67 GHz and calculate its beamwidth.
Use the design function with the ForAI argument set to true to create an AI-based microstrip patch antenna.
pAI = design(patchMicrostrip,1.67e9,ForAI=true)
pAI =
AIAntenna with properties:
Antenna Info
AntennaType: 'patchMicrostrip'
InitialDesignFrequency: 1.6700e+09
Tunable Parameters
Length: 0.0862
Width: 0.1122
Height: 0.0018
Show read-only properties
Explore the design space by changing its length and width with values within the tunable range of these properties. You can get the tunable range of a property by using tunableRanges function on the AI-based antenna object.
pAI.Length = 0.0855;
pAI.Width = 0.113;
Calculate half-power beamwidth of the antenna, its lower and upper angular points, and get the information on plane of calculation.
Half-power beamwidth of AI-based antenna, returned as a 2-by-1 vector in degrees.
The rows of this vector correspond to planes 1 and 2 respectively.
Example: [56; 60]
Data Types: double
Angular points encompassing the half-power region of the main beam in the azimuth or
elevation plane, returned as a 2-by-2 matrix in degrees. The rows of this matrix
correspond to planes 1 and 2 respectively.
Example: [60 116; 60 120]
Data Types: double
Planes used for beamwidth calculation, returned as 2-by-3 table. These planes are
defined by the azimuth or elevation slices.
Beamwidth is calculated along the horizontal and vertical cross-sections of an ideal
radiation pattern of the antenna.
For patch antennas, the beamwidth is calculated along:
The elevation plane at an azimuth angle of 0 degrees.
The elevation plane at an azimuth angle of 90 degrees.
For waveguide and horn antenna, the beamwidth is calculated along:
The elevation plane at an azimuth angle of 0 degrees.
The azimuth plane at an elevation angle of 0 degrees.