File Exchange

image thumbnail

Point to line distance (3D, 2D)

version 1.5 (9.08 KB) by Nicolas Douillet
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.


Updated 12 Aug 2020

View Version History

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

Nicolas Douillet (2020). Point to line distance (3D, 2D) (, GitHub. Retrieved .

Comments and Ratings (1)

Lao Schin

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

Community Treasure Hunt

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

Start Hunting!