フィルターのクリア

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?
  1 件のコメント
ANKUR KUMAR
ANKUR KUMAR 2018 年 10 月 2 日
Please provide your code.

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

採用された回答

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 Center および File ExchangeComputational Geometry についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by