%% 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)

% Create a mesh with a Maximum edge Length of 20 cm.

mesh(e2,'MaxEdgeLength',2e-1) 

% Copyright 2019 The MathWorks, Inc.