MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
ScaleX etc. correspond to the factors in
the single coordinate directions.
Scale is the list
sy, sz] of
the scaling factors. The attributes
These attributes can be animated.
We start with a 2D circle:
c := plot::Circle2d(3, [3, 3]):
We apply a scaling transformation:
S := plot::Scale2d([2, 3], c): plot(c, S):
The scaling factors are stored as the
in the scaling object
S::Scale, S::ScaleX, S::ScaleY
We change the scaling factors:
S::Scale := [-2, -3]: plot(c, S):
delete c, S: