How to write equation a for X and Y

3 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2018 年 3 月 3 日
回答済み: Image Analyst 2018 年 3 月 3 日
How to write equation a for X and Y using the below image (how to obtain X and Y)
  1 件のコメント
Rik
Rik 2018 年 3 月 3 日
I don't understand the constraints of your question, nor what makes this a Matlab question. You have a direct equation to obtain X and Y, so what is your problem?

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

採用された回答

Image Analyst
Image Analyst 2018 年 3 月 3 日
Try this:
xy = [xj-xi; yj-yi];
rotationMatrix = [cos(theta), sin(theta); sin(theta), -cos(theta)]
XY = rotationMatrix * xy;
X = XY(1);
Y = XY(2);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by