Distance Matrix calculation
Version 1.0.0.0 (1.26 KB) by
Zacharias Voulgaris
A compact program for calculating the distances of a group of points, given as rows in a matrix.
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 LinuxCategories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Tags
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 | |
---|---|---|---|
1.0.0.0 |