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!