finding normal vector to a line in 2D
Ältere Kommentare anzeigen
I know the two points in a line. (x1,y1), (x2,y2). how can I find the normal vector to that line?
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 11 Okt. 2011
0 Stimmen
The normal vector will be one with a slope of -1 divided by the slope of the line segment.
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!