필터 지우기
필터 지우기

How define the rotation of a rectangle in space ?

조회 수: 1 (최근 30일)
farzad
farzad 2018년 10월 2일
댓글: farzad 2018년 10월 2일
Hi All
I have a rectangular plan with the coordinates of its corners in space. this plane moves in space and does all the 6 dof moves, and I have all the coordinates at all times. how do I individualize and specify the rotation of this rectangle around its normal on the surface?

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 10월 2일
Let's suppose rect is the rectangular shape, you want to rotate it with 45 degrees (Anti-clockwise)-about z-axis
rot=rotate(rect,45,[0 0 0],[0 0 1])
As you mentioned its normal on the surface
This function introduced R2017a afterward
  댓글 수: 1
farzad
farzad 2018년 10월 2일
Thank you but I want to measure a given rotation, I don't want to rotate it

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computational Geometry에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by