Creating a distance matrix in Matlab?
Afficher commentaires plus anciens
Hello I am new to Matlab (I have used it in the past for basic and intermediate calculations).
My question is, does Matlab have a feature which allows one to create a distance matrix. I have the coordinates for several locations and I would like to find Manhattan distances. Is there any way to plot these coordinates to put in "obstacles" to represent actual distances?
Any suggestions?
Réponses (2)
Image Analyst
le 10 Déc 2011
0 votes
Paulo Silva
le 10 Déc 2011
0 votes
On the Neural Network Toolbox™ you have the mandist function that seems to do what you need, if you don't have that toolbox try to adapt this to your needs Distance Matrix calculation by Zacharias Voulgaris
Catégories
En savoir plus sur Define Shallow Neural Network Architectures dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!