Create polygon on X-Y plane
antenna.Polygon object to create a polygonal
centered at the origin and on the X-Y plane. You can use
antenna.Polygon to create single-layer or multi-layered antennas
polygon = antenna.Polygon
polygon = antenna.Polygon(Name,Value)
polygon = antenna.Polygon creates a polygonal
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','mypolygon') creates a polygon of name
'mypolygon'. Enclose each property name in
Name— Name of polygon
'mypolygon'(default) | character vector
Name of polygon, specified a character vector.
polygon.Name = 'Polygon1'
Vertices— Cartesian coordinates of polygon vertices
Cartesian coordinates of polygon vertices, specified as a N-by-3 vector with each element measured in meters.
'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 sq.m|
|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|
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]
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