Main Content
scale
Scale polyshape
Description
polyout = scale(
returns a polyin
,s
)polyshape
object defined by scaling
polyin
by a factor s
with respect to the
reference point (0,0). If s
is a scalar, then
scale
applies it to both the x and
y directions. If s
is a two-element row
vector, then the first element is the scale factor in the x
direction and the second element is the scale factor in the y
direction.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2017b