Distance from points to polyline or polygon
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Michael Yoshpe (2025). Distance from points to polyline or polygon (https://www.mathworks.com/matlabcentral/fileexchange/12744-distance-from-points-to-polyline-or-polygon), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Minimum distance between two polylines, Distance from a point to polygon
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
2.0.0.1 | 1) Small changes to p_poly_dist function to allow translation with Matlab Coder
|
||
2.0.0.0 | Fixed a bug that cause idx_c output argument to be off by 1
|
||
1.0.0.0 |