image thumbnail

Point to line distance (3D, 2D)

version 1.5 (7.95 KB) by Nicosahedron
Distance from a point to a line in 3D or in 2D, and coordinates of the point projected on the line. Also works for array of points.

168 Downloads

Updated 12 Aug 2020

From GitHub

View license on GitHub

Please first check the examples tab (.mlx file) here on the right for a complete description.

Once downloaded, typewrite 'help point_to_line_distance' or 'doc point_to_line_distance' in Matlab console for support.

Cite As

Nicosahedron (2022). Point to line distance (3D, 2D) (https://github.com/NicolasDouillet/point_to_line_distance/releases/tag/v1.5), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!
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.