Intersection of Two Lines (line_intersection)
版本 6.0.1.0 (221.8 KB) 作者:
Tamas Kis
Finds the intersection of two lines.
line_intersection
Finds the intersection of two lines.
Syntax
[x_int,y_int] = line_intersection(l1,l2)
Inputs
-
l1
(1×1, 1×2, 1×3, or 1×4double
) vector defining line 1: -
l2
(1×1, 1×2, 1×3, or 1×4double
) vector defining line 2:
Outputs
-
x_int
(1×1double
):-coordinate of line intersection,
-
y_int
(1×1double
):-coordinate of line intersection,
Examples and Additional Documentation
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Intersection_of_Two_Lines.pdf" (also included with download) for the technical documentation.
引用格式
Tamas Kis (2024). Intersection of Two Lines (line_intersection) (https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v6.0.1), GitHub. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。