More Information: I neglected to say that the trajectory should be assumed to start at 0,0 and would need to be rotated about that point.
How to rotate handwriting trajectories
3 views (last 30 days)
Show older comments
I have a set of points that comprise the trajectories of a jagged, wriggling line. I need to rotate the complete line without shrinking or dilating the height or length. I need both algorithm and toolbox suggestions. Thank you.
2 Comments
Image Analyst
on 15 May 2017
You also neglected to attach your data so we can't do anything with them. So my answer below doesn't change. Good luck though.
Answers (1)
Image Analyst
on 13 May 2017
Use the rotation matrix: https://en.wikipedia.org/wiki/Rotation_matrix See attached demo where I rotate a set of points making up an ellipse.
0 Comments
See Also
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!