Intersection of Two Lines (line_intersection)
Version 6.0.1.0 (222 KB) von
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.
Zitieren als
Tamas Kis (2024). Intersection of Two Lines (line_intersection) (https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v6.0.1), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2023a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.