필터 지우기
필터 지우기

how to find the length of two crossed lines?

조회 수: 2 (최근 30일)
Marry M
Marry M 2016년 2월 26일
댓글: Torsten 2016년 2월 29일
Guys, can any one help me to find the length of mentioned line in matlab? I know the length of V1 and V2

채택된 답변

Torsten
Torsten 2016년 2월 26일
cos(angle(v1,v2)) = ? / length of v1
Best wishes
Torsten.
  댓글 수: 2
Marry M
Marry M 2016년 2월 26일
thank you. that is the Matlab code?
Torsten
Torsten 2016년 2월 29일
No.
length = abs(atan2d(norm(cross(v1,v2)),dot(v1,v2)))*norm(v1);
is the matlab code.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by