MATLAB Answers

How do i rotate a matrix over set of points.

14 ビュー (過去 30 日間)
lakshmi surag Singavarapu
lakshmi surag Singavarapu 2021 年 2 月 9 日
編集済み: John D'Errico 2021 年 2 月 9 日
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?.

回答 (1 件)

John D'Errico
John D'Errico 2021 年 2 月 9 日
編集済み: John D'Errico 2021 年 2 月 9 日
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?

Community Treasure Hunt

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

Start Hunting!

Translated by