Intersection of Two Lines (line_intersection)

Versión 6.0.0 (206 KB) por Tamas Kis
Finds the intersection of two lines.

506 descargas

Actualizado 27 Sep 2022

De GitHub

Ver licencia en GitHub

line_intersection View Intersection of Two Lines (line_intersection) on File Exchange

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:

    1. l1 = x1: vertical line form (vertical line defined as )
    2. l1 = [m1,b1]: slope-intercept form ()
    3. l1 = [x1,y1,m1]: point-slope form ()
    4. l1 = [x1,y1,x2,y2]: two point form (line that contains the points and )
  • Line 2 can be defined in four different ways:

    1. l2 = x2: vertical line form (vertical line defined as )
    2. l2 = [m2,b2]: slope-intercept form ()
    3. l2 = [x2,y2,m2]: point-slope form ()
    4. l2 = [x3,y3,x4,y4]: two point form (line that contains the points and )

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.

Citar como

Tamas Kis (2023). Intersection of Two Lines (line_intersection) (https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v6.0.0), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
6.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v6.0.0

5.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v5.0.4

5.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v5.0.3

5.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v5.0.2

5.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v5.0.0

4.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v4.0.0

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/3.0.0

2.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v2.0.4

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v2.0.2

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v2.0.0

1.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/line_intersection-MATLAB/releases/tag/v1.0.1

1.0.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.