%% Mesh Arbitrary Shape
% Create a rectangular and circular shape, intersect them and mesh at a wavelength of 2 m.

r  = antenna.Rectangle;
c  = antenna.Circle; 
p = r&c;
mesh(p,2);

% Copyright 2012 The MathWorks, Inc.