Two vectors to DCM

版本 1.0.0 (910.4 KB) 作者: Ahmed Mahfouz
Get the DCM between two reference frames if two arbitrary vectors in both frames need to be aligned
20.0 次下载
更新 2023/6/19

查看许可证

calculates the Direction Cosine Matrix (DCM), , between the two reference frames, , where . The function requires the knowledge of the representations of two arbitrary points (vectors) in both frames.
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

引用格式

Ahmed Mahfouz (2026). Two vectors to DCM (https://ww2.mathworks.cn/matlabcentral/fileexchange/131339-two-vectors-to-dcm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
版本 已发布 发行说明
1.0.0