Calculate the new position of a point after rotating
Mostra commenti meno recenti
how we can Calculate the new position of a point after rotating it about theta degrees around a line in 3d space
2 Commenti
Akira Agata
il 14 Giu 2023
+1
If the Automated Driving Toolbox is not available in your environment, please use makehgtform function to create 4-by-4 transform matrix and apply to the original point coordinates.
Risposte (1)
You can use this FEX download, which requires no toolboxes,
See, in particular SYNTAX 3,
newPosition = AxelRot(oldPosition, degrees, axisDirection, axisOrigin)
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!