Create polygon on X-Y plane
antenna.Polygon object to create a polygonal board
shape centered at the origin and on the X-Y plane. You can use
antenna.Polygon to create single-layer or multilayered antennas
polygon = antenna.Polygon creates a polygonal board
shape centered at the origin and on the X-Y plane.
polygon = antenna.Polygon(Name,Value) sets properties
using one or more name-value pair. For example,
antenna.Polygon('Name','mypolygonboard') creates a polygon
board shape of the name
'mypolygonboard'. Enclose each
property name in quotes.
Name— Name of polygon board shape
'mypolygon'(default) | character vector | string
Name of the polygon board shape, specified a character vector or string.
polygon.Name = 'Polygon1'
Vertices— Cartesian coordinates of polygon vertices
Cartesian coordinates of polygon vertices, specified as a N-by-3 matrix with each element measured in meters, N being the number of points.
'Vertices',[-1 0 0;-0.5 0.2 0;0 0
polygon.Vertices = [-1 0 0;-0.5 0.2 0;0 0
|Boolean unite operation on two shapes|
|Calculate area of shape in square meters|
|Boolean subtraction operation on two shapes|
|Boolean intersection operation on two shapes|
|Rotate shape about axis and angle|
|Rotate shape about X-axis and angle|
|Rotate shape about Y-axis and angle|
|Rotate shape about Z-axis and angle|
|Move shape to new location|
|Display antenna or array structure; display shape as filled patch|
|Mesh properties of metal or dielectric antenna or array structure|
|Remove holes from shape|
|Remove sliver outliers from boundary of shape|
Create a polygon using
antenna.Polygon with vertices at
[-1 0 0;-0.5 0.2 0;0 0 0] and view it.
p = antenna.Polygon('Vertices', [-1 0 0;-0.5 0.2 0;0 0 0])
p = Polygon with properties: Name: 'mypolygon' Vertices: [3x3 double]
show(p) axis equal
Mesh the polygon and view it.
Move the polygon to a new location on the X-Y plane.
translate(p,[2,1,0]) axis equal