How do i rotate a matrix over set of points.

1 view (last 30 days)
So i have a 2*n matrix as input points and rotation vector is 2*1 vector and using angle how do i rotate the matrix?.

Answers (1)

John D'Errico
John D'Errico on 9 Feb 2021
Edited: John D'Errico on 9 Feb 2021
No. You do not want to rotate a matrix. You have a list of points that lie in the plane, described as cooordinates in each column of the matrix. So every column of that matrix apparently contains the (x,y) coordinates of one point.
Now, you want to rotate those points, apparently around the origin? You tell us you have a "rotation vector". What does that mean to you?

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!