Rotate a point across a origin in 3d env

1 visualización (últimos 30 días)
youngz
youngz el 13 de Nov. de 2020
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?

Respuestas (0)

Categorías

Más información sobre Assembly en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by