Home > By category > Scripts >Development Tools > Distance Matrix



Distance Matrix

  • Downloads: 
  • Views: 
  • Rating:

Returns the point-to-point distance between all pairs of points (similar to PDIST in the Statistics Toolbox, for those without it)

DMAT = DISTMAT(XY) Calculates the distance matrix using an automatic option
DMAT = DISTMAT(XY,OPT) Uses the specified option to compute the distance matrix
[DMAT,OPT] = DISTMAT(XY) Also returns the automatic option used by the function

Inputs:
XY is an NxP matrix of coordinates for N points in P dimensions
OPT (optional) is an integer between 1 and 4 representing the chosen method for computing the distance matrix (see note below)

Outputs:
DMAT is an NxN matrix, where the value of DMAT(i,j) corresponds to the distance from XY(i,:) to XY(j,:)
OPT (optional) is an integer between 1 and 4 representing the method used to compute the distance matrix (see note below)

Note:
DISTMAT contains 4 methods for computing the distance matrix
OPT=1 Usually fastest for small inputs. Takes advantage of the symmetric property of distance matrices to perform half as many calculations
OPT=2 Usually fastest for medium inputs. Uses a fully vectorized method
OPT=3 Usually fastest for large inputs. Uses a partially vectorized method with relatively small memory requirement
OPT=4 Another compact calculation, but usually slower than the others

Free download from Shareware Connection - Returns the point-to-point distance between all pairs of points (similar to PDIST in the Statistics Toolbox, for those without it)

Publisher: Joseph Kirk | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 09-04-2013 | Rating: 0 | Title: Distance Matrix

Author Url: http://www.mathworks.com/
Program Info Url: http://www.mathworks.com/
Download Url: http://www.mathworks.com/matlabcentral/fx_files/15145/1/distmat.zip

More downloads from Distance Matrix publisher Joseph Kirk:

Traveling Salesman Problem - Nearest Neighbor Script - This MATLAB script finds a near-optimal solution to a TSP using Nearest Neighbor algorithm

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm Script - This MATLAB script finds a near-optimal solution to a variation of the Multiple Traveling Salesman with variable number of salesmen using a genetic algorithm

Dijkstra's Shortest Path Algorithm - Find the shortest path and distance from a starting node to an ending node on a map

Advanced Dijkstra's Minimum Path Algorithm - DIJKSTRA Calculate Minimum Costs and Paths using Dijkstra's Algorithm

Dragon Curve (aka Jurassic Park Fractal) - The Dragon Curve is a fractal that was made famous in Jurassic Park, a novel by Michael Crichton.

Distance Matrix keywords:
Distance Matrix related downloads:

Distance Matrix Latitude Longitude - DISTMATLATLON Computes distance matrix between list of coords in X and Y

Kernel to Distance - Transform a inner product matrix or kernel matrix to a square of distance matrix

Converts a non positive definite symmetric matrix to positive definite symmetric matrix - Function that transforms a non positive definite symmetric matrix to a positive definite.

distmat - D = DISTMAT(X,Y) for matrices X and Y returns the distance matrix where the (i,j)th entry is the d-norm distance between the ith and jth row of X and Y respectively.

RESTSITE - RESTSITE computes distances between species based on restriction sites or restriction fragments and can infer phylogenies by the Neighbor-Joining and UPGMA distance matrix methods.

Shareware Connection periodically updates pricing and software information of 'Distance Matrix' from company source 'Joseph Kirk' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Distance Matrix' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Distance Matrix.

New Reviews

Zoolz - No serious PC user needs introduction about the need to backup data, both at home and workplace. There was a time when majority of people used external HDD or storage media to backup important data. However, local data backup has its limitations ...

Enpass Password Manager - With time, average PC users find it tedious to deal with oodles of passwords. For every online profile, whether it is social media or online banking, creating user name and password is required and after a time it can be cumbersome to handle them ...

Avid Media Composer - When it comes to professional level video editing, there are plenty of tools available for computer users nowadays. While a lot of studio professionals swear by apps like Adobe’s powerhouse software Premiere Pro and Mac users stick to Final ...

Uniblue SpeedUpMyPC 2013 - Even if you use an expensive desktop or laptop with beefy hardware and have the latest version of Windows installed, it is not unusual to find your system running sluggishly after prolonged usage. This has got more to do with inherent working ...

Backup Dwarf Home Edition - Making backups of data and media content has become extremely important for computer users nowadays. Owing to hardware failure, you may end up losing gigabytes of precious data. Besides, you may not want to leave sensitive data accessible to all ...

Bolide Movie Creator - Not many PC users ventured into editing video clips even a few years back. It was a task reserved for studio setups and professionals. However, emergence of mobile video recording devices, access to internet has changed things in recent times. ...

Adobe Muse CC 2014 - There was a time when Dreamweaver used to be the most widely used web design app and competitors from Microsoft or other small players used to lag behind. While the powerhouse app still enjoys a humongous user base worldwide, emergence of new ...

Protector Plus 2014 (32-bit) - Without using suitable security software in PC, you cannot have peace of mind nowadays. Increasing instances of malware attacks and attacking exploits have prompted average PC users to resort to using antivirus and security suites for both home ...

Autodesk MotionBuilder 2015 - 3D animators and post production setups need to use Motion capturing technology extensively for making stunning films, ads and tutorials etc. Over the years, both software and hardware technology used in this segment have evolved by leaps and ...

Norton Zone - With a lot of your data being stored in some cloud service or other, it becomes necessary after a point to zero in on any one service rather than using many at the same time. As it is, major software companies are resorting to cloud based service ...




New Downloads

BarCodeWiz Barcode ActiveX
Control

Create single barcodes, pages
of labels, or mail merge
documents in Microsoft Word.
Convert cells to barcodes or
full ...

Shop Management System

Shop management software is a
unique tool for managing your
retail shop effectively. With
this application you get a ...

Crowd Funding Site -
NCrypted Websites

Crowdfunding Clone allows
generating funds for the
project using internet as main
source. Whether you are
looking for a ...

DataMiner API

An API for scraping the
Internet via cURL, HTMLTidy,
and SimpleXML.

matlab-ParforProgress2

This progress monitor comes
with a nice wrapper
`ParforProgressStarter2.m`
which will take care of adding
the classes to ...

SVN Profiling

Read data from files tagged
with SVN
keywords [svn_profile,svn_str
] =
build_svn_profile(folders,keyw
ords,strs) This ...

libConfuse

libConfuse is a configuration
file parser library written in
C.

Book Import

The Book Import module allows
the importing of Drupal books,
from exported Drupal book XML
files.

EC Role Price

ecommerce plugin to have
different prices for different
roles and for each product.

Numerical Inversion of
Laplace Transforms in
Matlab

Inversion of Laplace
transforms is a very important
procedure used in solution of
complex linear systems

Paley Type I Hadamard
matrices

order of the Hadamard matrix
to be computed (integer)

Overlap Add Overlap Save
methods implementation for
block DFT processing

The overlap add and overlap
save are the two generally
implemented methods when the
input is greater than the
maximum ...