Change the size of the shape by a fixed amount
c = scale(shape,scaling)
Create a rectangular shape.
r = antenna.Rectangle; show(r) axis equal
Shrink the rectangle by 50%.
shape— Shape created using custom elements and shape objects
Shape created using custom elements and shape objects of Antenna Toolbox, specified as an object handle.
c = scale(rectangle1,0.5) where rectangle1 is
scaling— Constant factor to change shape size
Constant factor to change shape size, specified as a scalar.