Rotating XYZ coordinates to a new Z axis.

1 view (last 30 days)
Ziv Kassner
Ziv Kassner on 23 Aug 2017
Edited: Jan on 23 Aug 2017
I have XYZ coordinates of an object moving in space, but the XYZ axes are arbitrary. I have 2 XYZ points on a known Z line. how can I make my data correspond to the known Z axis and make sure that the XY plane is aligned accordingly?
  1 Comment
Jan
Jan on 23 Aug 2017
Edited: Jan on 23 Aug 2017
The question is not clear yet. Are you looking for the 3D rotation matrix, which rotates one set of an orthogonal coordinate system to another one? To suggest a solution, it would be useful to edit your question and insert any details, e.g. how the "points" or "coordinates" are stored.

Sign in to comment.

Answers (0)

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!