Calculates the rotation matrix that aligns a vector to another
Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This function calculates rotation matrix that aligns a vector to another.
function R=Rotation(a,b)
where:
a and b are (3*1) vectors
R is (3*3) rotation matrix that aligns vector a to b so that: the normalized vector of b equals R multiplied by the normalized vector of a
references:
Jur van den Berg (https://math.stackexchange.com/users/91768/jur-van-den-berg), Calculate Rotation Matrix to align Vector A to Vector B in 3d?, URL (version: 2016-09-01): https://math.stackexchange.com/q/476311
Citation pour cette source
Ayad Al-Rumaithi (2026). Align a Vector to Another (https://fr.mathworks.com/matlabcentral/fileexchange/123395-align-a-vector-to-another), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.1 (1,11 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.1 | Added website |
||
| 1.0.0 |
