필터 지우기
필터 지우기

How to write equation a for X and Y

조회 수: 2 (최근 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 CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by