Get Rotation Matrix from 2 Orthogonal Planes
Shows a 3D point cloud and lets the user select a plane by clicking on two points. The selected plane is highlighted.
The math is pretty simple:
A surface normal is computed for each plane using eigenvectors, later the y axis is set to be 0, any rotation is subtracted from it to obtain orthogonals surface normals. The cross product ot them is computed to obtan the z axis normal and conform the 3x3 rotation matrix.
Cita come
Gemma Parra (2025). Get Rotation Matrix from 2 Orthogonal Planes (https://it.mathworks.com/matlabcentral/fileexchange/37048-get-rotation-matrix-from-2-orthogonal-planes), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: Click3dPoint
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
gpGetRotMatrix/
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
