Pairwise Distance Matrix
Compute pairwise square Euclidean or Mahalanobis distances between points sets (fully optimized!).
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Mo Chen (2026). Pairwise Distance Matrix (https://se.mathworks.com/matlabcentral/fileexchange/24599-pairwise-distance-matrix), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Pattern Recognition and Machine Learning Toolbox
General Information
- Version 1.9.0 (1.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.9.0 | update description |
||
| 1.6.0 | update description |
||
| 1.5.0 | update title and description |
||
| 1.4.0 | remove any redundant error check |
||
| 1.3.0 | update to support Mahalanobis distance. fix a bug for one dimensional case. |
||
| 1.2.0 | Add a centerization step for robustness purpose. Split the code for different number of input for efficiency purpose. Update comments. |
||
| 1.1.0 | update the description |
||
| 1.0.0 |