How do i rotate a matrix over set of points.

1 visualización (últimos 30 días)
lakshmi surag Singavarapu
lakshmi surag Singavarapu el 9 de Feb. de 2021
Editada: John D'Errico el 9 de Feb. de 2021
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?.

Respuestas (1)

John D'Errico
John D'Errico el 9 de Feb. de 2021
Editada: John D'Errico el 9 de Feb. de 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?

Categorías

Más información sobre 3-D Scene Control en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by