Rotate a point across a origin in 3d env

조회 수: 6 (최근 30일)
youngz
youngz 2020년 11월 13일
Hello,
I am trying to rotate a point in a 3d environment translated by an origin point. In particular, I have 3 origin coordinate and a specific z distance which indicates the target point
cord = [x,y,z]
target = cord
target(:,3) = target(:,3)+myZ
Moreover, I have a quaternion rotation that should be applied to the "system" in which the target will "orbit" around the origin. Are there a smart matlab solution?

답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by