Rotate a data set by degrees?

7 ビュー (過去 30 日間)
Lloyd Koontz
Lloyd Koontz 2022 年 11 月 13 日
コメント済み: Lloyd Koontz 2022 年 11 月 13 日
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 件のコメント
Lloyd Koontz
Lloyd Koontz 2022 年 11 月 13 日
nvm i finally figured it out
https://www.mathworks.com/matlabcentral/answers/305034-rotate-the-plot-at-45-degree#answer_237296

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2022 年 11 月 13 日
If you have the x,y coordinates, then use the rotation matrix:

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by