Borrar filtros
Borrar filtros

how to find the length of two crossed lines?

2 visualizaciones (últimos 30 días)
Marry M
Marry M el 26 de Feb. de 2016
Comentada: Torsten el 29 de Feb. de 2016
Guys, can any one help me to find the length of mentioned line in matlab? I know the length of V1 and V2

Respuesta aceptada

Torsten
Torsten el 26 de Feb. de 2016
cos(angle(v1,v2)) = ? / length of v1
Best wishes
Torsten.
  2 comentarios
Marry M
Marry M el 26 de Feb. de 2016
thank you. that is the Matlab code?
Torsten
Torsten el 29 de Feb. de 2016
No.
length = abs(atan2d(norm(cross(v1,v2)),dot(v1,v2)))*norm(v1);
is the matlab code.
Best wishes
Torsten.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by