line calculations using its known coordinates
1 次查看(过去 30 天)
显示 更早的评论
Hello every one
How to calculate the angle between two lines (lines have known coordinates)
Thanks
0 个评论
回答(1 个)
William Rose
2021-5-30
Suppose slope of line 1 is a1 and slope of line 2 is a2. Then angle of line 1 relative to x axis is theta1=arctan(a1) and angle of line 2 is theta2=arctan(a2). Angle between lines is theta1-theta2.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cartesian Coordinate System Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!