Intersection of Two Lines (line_intersection)
Version 6.0.0 (206 KB) by
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)
Description
[x_int,y_int] = line_intersection(l1,l2)
returns the intersection [x_int,y_int]
of two lines.
-
Line 1 can be defined in four different ways:
-
Line 2 can be defined in four different ways:
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.
Cite As
Tamas Kis (2023). Intersection of Two Lines (line_intersection) (https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v6.0.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.