Distance Matrix calculation

A compact program for calculating the distances of a group of points, given as rows in a matrix.
1.6K Downloads
Updated 20 Jan 2010

View License

This program calculates the Euclidean distances of every possible pair of points, whose coordinates are given as rows in a matrix. It is particularly useful for distance-based classifiers, due to its limited computational cost. The program can be easily adapted to calculate Manhattan distance or any other distance metric.

Cite As

Zacharias Voulgaris (2024). Distance Matrix calculation (https://www.mathworks.com/matlabcentral/fileexchange/26434-distance-matrix-calculation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0