finding normal vector to a line in 2D
显示 更早的评论
I know the two points in a line. (x1,y1), (x2,y2). how can I find the normal vector to that line?
采纳的回答
更多回答(1 个)
Walter Roberson
2011-10-11
0 个投票
The normal vector will be one with a slope of -1 divided by the slope of the line segment.
类别
在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!