You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Rotate any 2D object (specified by its vertices or by handle(s) to an imroi object) by angle theta (in degrees), about any center of rotation.
Create rotated rectangle or ellipse specified by its (unrotated) bounding box.
Specify center of rotation by point, or by corner or centroid of bounding box.
Includes shortcut functions rotateRectangle and rotateEllipse for convenience.
Cite As
Brett Shoelson (2026). rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box (https://se.mathworks.com/matlabcentral/fileexchange/49529-rotatedobject-rotate-any-2d-object-by-handle-vertex-list-or-bounding-box), MATLAB Central File Exchange. Retrieved .
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
General Information
- Version 1.1.0.1 (6.38 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
