Rotate a data set by degrees?
Show older comments
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 Comment
Lloyd Koontz
on 13 Nov 2022
Answers (1)
Image Analyst
on 13 Nov 2022
0 votes
If you have the x,y coordinates, then use the rotation matrix:
Categories
Find more on Interpolation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!