Change size of shape by fixed factor
Scale Rectangle Shape
Create a rectangular shape.
r = antenna.Rectangle; show(r) axis equal
Shrink the rectangle by 50%.
shape — Shape created using shape objects
2-D and 3-D geometric shapes created using shape objects in Custom 2-D and 3-D Antenna catalog.
factor — Constant factor to change shape size
Constant factor to change shape size, specified as a scalar.
c — Resultant shape
Resultant shape obtained after the scaling operation on the input shape, returned as a shape object.
Introduced in R2017a