What is the angle of vector conecting two points?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
K M Ibrahim Khalilullah
am 19 Mai 2016
Kommentiert: K M Ibrahim Khalilullah
am 19 Mai 2016
Suppose I have two points P1(x1,y1) and P2(x2,y2). How can I calculate angle of vector connecting the two points?
2 Kommentare
Antworten (1)
KSSV
am 19 Mai 2016
Angle means, it shall be anti-clockwise with respect to x -axis... use: theta = atan((y2-y1)/(x2-x1))
Siehe auch
Kategorien
Mehr zu Geometric Transformation and Image Registration 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!