Clear Filters
Clear Filters

Rotate a point across a origin in 3d env

4 views (last 30 days)
youngz
youngz on 13 Nov 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?

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!