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
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Image Analyst
2017년 5월 15일
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.
답변 (1개)
Image Analyst
2017년 5월 13일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!