%% Create Rectangular Corrugated-Horn Antenna and Plot Radiation Pattern
% Create a default rectangular corrugated-horn antenna.

ant = hornCorrugated

% View the antenna using the show function.

show(ant)

% Plot the radiation pattern of the antenna at a frequency 15.28 GHz.

p = PatternPlotOptions('MagnitudeScale',[-15 10]);
pattern(ant,15.28e9,'patternOptions',p)

% Copyright 2020 The MathWorks, Inc.