Filter löschen
Filter löschen

how to find the length of two crossed lines?

2 Ansichten (letzte 30 Tage)
Marry M
Marry M am 26 Feb. 2016
Kommentiert: Torsten am 29 Feb. 2016
Guys, can any one help me to find the length of mentioned line in matlab? I know the length of V1 and V2

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by