How to changes X Y coordinate System and get value point?

조회 수: 9 (최근 30일)
galaxy
galaxy 2022년 12월 9일
편집: galaxy 2022년 12월 18일
Hi all,
Following is described of my question.
Suppose that, I have XY coordinate and 2 points (a,b)
Now, I create new XY coordinate with a is original point.
C is one point of x'ay' coordinate.
So, How to convert C position to xy coordinate??
or in opposite, if C is one point of xy coordinate, how to get position of C in x'y' coordinate??
Do anyone have idea, please help me.
Thank you so much.

채택된 답변

Jiri Hajek
Jiri Hajek 2022년 12월 9일
Hi, you need to use matrix transformations of coordinates as described e.g. here: https://en.wikipedia.org/wiki/Kinematics#Matrix_representation
  댓글 수: 3
Jiri Hajek
Jiri Hajek 2022년 12월 12일
OK. I'll try to explain the basic concept. In order to generalize transformation of coordinates for your point in a plane, you will always need at most two elementary transformations. One of them is rotation and the other is translation.
In your illustrations, you have the original and final coordinate systems, but to fully understand the complete transformation between your two coordinate systems, you will need to plot also a third coordinate system, which incorporates just one of the transformation steps (doesn't matter if rotation or translation).
To actually transform your coordinates, you have to perform one transform after the other. Offset (translation) is simple, but for the rotation, you need a matrix transform, see e.g. here.
galaxy
galaxy 2022년 12월 18일
편집: galaxy 2022년 12월 18일
Sorry for feedback late
I got it.
Thank you for your anwser.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Antennas, Microphones, and Sonar Transducers에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by