Create ellipse centered at origin on xy-plane
antenna.Ellipse object to create an ellipse
centered at the origin on the xy-plane. You can use
antenna.Ellipse to create single-layer or multi-layered antennas
ellipse = antenna.Ellipse creates an ellipse centered
at the origin on the xy-plane.
ellipse = antenna.Ellipse(Name=Value) creates an
ellipse, with additional properties specified by one or more name-value
Name is the property name and
Value is the corresponding value. You can specify
several name-value arguments in any order as
NameN=ValueN. Properties that you do not specify
retain their default values.
Name — Name of ellipse
"myEllipse" (default) | string
Name of ellipse, specified as a string.
Center — Cartesian coordinates of ellipse center
[0 0] (default) | 2-element vector
Cartesian coordinates of center of ellipse, specified as a 2-element vector in meters.
Major axis — Major axis of ellipse
1 (default) | scalar
Length of the major axis of the ellipse, specified as a scalar in meters.
Minor axis — Minor axis of ellipse
0.5 (default) | scalar
Length of the minor axis of the ellipse, specified as a scalar in meters.
NumPoints — Number of discretization points on circumference
30 (default) | scalar
Number of discretization points on circumference, specified as a scalar.
|Boolean unite operation on two shapes|
|Boolean subtraction operation on two shapes|
|Intersection of shape1 and shape2|
|Join two shapes|
|Carve a shape from other shape|
|Boolean intersection operation on two shapes|
|Calculate area of 2-D shapes in square meters|
|Display antenna, array structures, shapes, or platform|
|Plot boundary of 2-D shape|
|Mesh properties of metal, dielectric antenna, or array structure|
|Rotate shape about axis by angle|
|Rotate shape about x-axis by angle|
|Rotate shape about y-axis by angle|
|Rotate shape about z-axis by angle|
|Move shape to new location|
|Change size of shape by fixed factor|
|Mirror shape along x-axis|
|Mirror shape along y-axis|
|Remove holes from shape|
|Remove sliver outliers from boundary of shape|
Create an Ellipse with Default Properties
Create ellipse using
e1 = antenna.Ellipse
e1 = Ellipse with properties: Name: 'myEllipse' Center: [0 0] MajorAxis: 1 MinorAxis: 0.5000 NumPoints: 30
antenna.Ellipse object using the
Create an Ellipse with Specified Properties
Create an ellipse with major axis of 2 m and a minor axis of 0.8 m.
e2 = antenna.Ellipse(MajorAxis=2,MinorAxis=0.8)
e2 = Ellipse with properties: Name: 'myEllipse' Center: [0 0] MajorAxis: 2 MinorAxis: 0.8000 NumPoints: 30
Create a mesh with a Maximum edge Length of 20 cm.
Subtract Two Shapes
Create an ellipse with default properties.
e3 = antenna.Ellipse;
Create a rectangle with a length of 0.1 m and width of 0.2 m.
r = antenna.Rectangle(Length=0.1,Width=0.2);
Subtract the two shapes using the
s = e3-r;
Mesh the subtracted shape with a maximum edge length of 1 m.
Introduced in R2020a