Two vectors to DCM
Version 1.0.0 (910 KB) by
Ahmed Mahfouz
Get the DCM between two reference frames if two arbitrary vectors in both frames need to be aligned
INPUTS:
: vector r represented in frame a
: vector r represented in frame b
: vector v represented in frame a
: vector v represented in frame b
OUTPUTS:
: An orthonaormal DCM that rotates any vector from frame b to frame a
Cite As
Ahmed Mahfouz (2026). Two vectors to DCM (https://ch.mathworks.com/matlabcentral/fileexchange/131339-two-vectors-to-dcm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |