%% Create Grid Reflector-Backed Rectangular Array
% Create a rectangular array of cylindrical dipole antennas.

d = dipoleCylindrical('Length',0.2,'Radius',0.005);
arr = rectangularArray('Element',d,'Size',[4 4],'RowSpacing',0.029,'ColumnSpacing',0.029);

% Create a grid reflector-backed rectangular array.

ant = reflectorGrid('Exciter',arr,'Spacing',0.2)
show(ant)

% Copyright 2020 The MathWorks, Inc.