patternFromAI
R2026bSyntax
Description
Note
To use the patternFromAI function, you need a Deep
Learning Toolbox™ license in addition to the Antenna Toolbox™ license.
To reconstruct a pattern from sparse input data, or to specify the
NumSteps name-value argument, you must also download and install
the Machine Learning Models for Antenna Toolbox support package. You can also
interactively install the support package using the Add-Ons panel. Reconstruction from two orthogonal slices does not require
the support package.
patternFromAI(
plots the approximate 3-D radiation pattern reconstructed from the magnitude and angle
data of input orthogonal slices magVertSlice, angleVertSlice, magHorizSlice, angleHorizSlice)vertslice and
horizSlice.
[
returns the reconstructed pattern as a matrix along with the vectors of the horizontal and
vertical angle values in degrees. For the matrix p3D, vertAngleOut, horizAngleOut] = patternFromAI(___)p3D, the number of
rows/columns correspond to the number of elements of
horizAngleOut/vertAngleOut.
reconstructs the 3-D radiation pattern from sparse magnitude samples
p3D = patternFromAI(data, angle1, angle2)data specified at the sample angles angle1 and
angle2, and returns the pattern as the matrix p3D.
Use this syntax to reconstruct a pattern from irregularly sampled data instead of two
orthogonal slices.
This syntax requires the Machine Learning Models for Antenna Toolbox support package.
[
also returns the vectors of vertical and horizontal angle values in degrees.p3D, vertAngleOut, horizAngleOut] = patternFromAI(data, angle1, angle2)
This syntax requires the Machine Learning Models for Antenna Toolbox support package.
[___] = patternFromAI(___,
specifies customization and tuning options, such as the angle convention, additional
minimum and maximum magnitudes for slice normalization, and pattern plot options using one
or more name-value
arguments.Name=Value)





