how to find the length of two crossed lines?

2 次查看(过去 30 天)
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 个评论
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