Rotate a data set by degrees?
显示 更早的评论
I have a set of data which should be centered and angle off the origin. Instead it is angled counter clock wise by a certain amount. I want to be able to rotate all data by n degrees to center it. It should "flower" around the black dotted line in the pic.

回答(1 个)
Image Analyst
2022-11-13
0 个投票
If you have the x,y coordinates, then use the rotation matrix:
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 3D Animation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!