pdist2plus(p1,p2)

Does the same thing as pdist2 ('euclidean') but returns an angle matrix along with distance matrix

You are now following this Submission

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 (2026). pdist2plus(p1,p2) (https://www.mathworks.com/matlabcentral/fileexchange/49662-pdist2plus-p1-p2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

-Fixed some text errors.

1.0.0.0