Create ellipse centered at origin on X-Y plane
antenna.Ellipse object to create an ellipse
centered at the origin on the X-Y plane.
ellipse = antenna.Ellipse creates an ellipse centered
at the origin on the X-Y plane.
ellipse = antenna.Ellipse(Name,Value) sets properties
using one or more name-value pair arguments. For example,
antenna.Ellipse('MajorAxis',2,'Minoraxis',0.800) creates an
ellipse with a longest diameter of 2 m and smallest diameter of 0.8 m.
Enclose each property name in quotes.
Name— Name of ellipse
'myEllipse'(default) | character vector
Name of ellipse, specified as a character vector.
Center— Cartesian coordinates of center of ellipse
[ 0 0 ](default) | two-element vector
Cartesian coordinates of center of ellipse, specified as a two-element vector with each element measured in meters.
Ellipse.Center= [0.006 0.006]
Major axis— Major axis of ellipse
Major axis of ellipse, specified as a scalar in meters.
Minor axis— Minor axis of ellipse
Minor axis of the ellipse, specified as a scalar in meters.
NumPoints— Number of discretization points on circumference
Number of discretization points on circumference, specified as a scalar.
|Boolean unite operation on two shapes|
|Boolean subtraction operation on two shapes|
|Boolean intersection operation on two shapes|
|Shape1 + Shape2|
|Shape1 - Shape2|
|Shape1 & Shape2|
|Calculate area of shape in square meters|
|Display antenna or array structure; display shape as filled patch|
|Plot boundary of shape|
|Mesh properties of metal or dielectric antenna or array structure|
|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|
|Change the size of the shape by a fixed amount|
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 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.
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.