%% Scale Rectangle Shape
% Create a rectangular shape.

r  = antenna.Rectangle;
show(r)
axis equal

%
% Shrink the rectangle by 50%.

scale(r,0.5);

%
% Copyright 2012 The MathWorks, Inc.