フィルターのクリア

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 Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by