pdist2plus(p1,p2)

Version 1.1.0.0 (751 Bytes) by Chuck Hatt
Does the same thing as pdist2 ('euclidean') but returns an angle matrix along with distance matrix
207 Downloads
Updated 11 Feb 2015

View License

In point set analysis, it is useful to compare 2 sets of points by computing the distance between each possible point pair. For example, this is a required step in the ICP point set registration algorithm. MATLAB's built in function for computing the distance matrix is pdist2. This function does the same thing, but also returns an angle matrix, which is the angle defined by each possible point pair. The limitations of this function are that it only computes the Euclidean distance and it only works in 2D. This function is useful for excluding hypotheses that don't match distance and orientation constraints for object detection in computer vision.

Cite As

Chuck Hatt (2024). pdist2plus(p1,p2) (https://www.mathworks.com/matlabcentral/fileexchange/49662-pdist2plus-p1-p2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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!
Version Published Release Notes
1.1.0.0

-Fixed some text errors.

1.0.0.0