You can input either a 2D or a 3D line and 2D or 3D points. This function is an extended version of the line below, with some input checking:
Licence: CC by-nc-sa 4.0
Rik (2023). point to line distance (https://github.com/thrynae/point_to_line_distance/releases/tag/1.3.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
See release notes for this release on GitHub: https://github.com/thrynae/point_to_line_distance/releases/tag/1.3.2
added tester and example file, and added logo
fixed issue with 2D input
added compatibility for R13 (MATLAB 6.5)
uploaded incorrect version, so now a bug in the orientation is fixed