%% Change Grid Type in Grid Reflector-Backed Antenna
% Create and view grid reflector-baked dipole blade antenna.

d = dipoleBlade('Length',0.1,'TaperLength',0.05,'FeedGap',0.002);
h = reflectorGrid('Exciter',d);
show(h)

% Change the grid type from 'HV'  to 'H'.

h.GridType = 'H';

% View the antenna with grid type 'H'.

show(h)

% Plot the radiation pattern at 1 GHz.

pattern(h,1e9)

%
% Copyright 2020 The MathWorks, Inc.