Clear Filters
Clear Filters

How to rotate handwriting trajectories

1 view (last 30 days)
Eric Caplain
Eric Caplain on 12 May 2017
Commented: Image Analyst on 15 May 2017
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
Eric Caplain
Eric Caplain on 15 May 2017
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.
Image Analyst
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.

Sign in to comment.

Answers (1)

Image Analyst
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.

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!