Create a unit vector from two locations?
조회 수: 9 (최근 30일)
이전 댓글 표시
"A temporary second unit vector (j), was created from the second metatarsal head (MTH2) and CoM location, and divided by its norm."
Code:
MTH2 = [0.472 1.364 0.06]
CoM = [0.471 1.147 0.903]
UnitVector = CoM - MTH2 / norm(CoM - MTH2)
= [-0.069 0.42 0.83]
is this correct?
댓글 수: 0
답변 (2개)
David Hill
2022년 9월 26일
MTH2 = [0.472 1.364 0.06];
CoM = [0.471 1.147 0.903];
UnitVector = (CoM - MTH2) / norm(CoM - MTH2)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!