How to rotate handwriting trajectories

2 vues (au cours des 30 derniers jours)
Eric Caplain
Eric Caplain le 12 Mai 2017
Commenté : Image Analyst le 15 Mai 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 commentaires
Eric Caplain
Eric Caplain le 15 Mai 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 le 15 Mai 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.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 13 Mai 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

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by