Distance Matrix Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: distmat.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Joseph Kirk (View more)

Distance Matrix script description:



Distance Matrix is a Matlab script for Mathematics scripts design by Joseph Kirk. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Distance Matrix - fast, vectorized distance matrix calculation

Publisher review:
Distance Matrix - fast, vectorized distance matrix calculation 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 optionDMAT = DISTMAT(XY,OPT) Uses the specified option to compute the distance matrix[DMAT,OPT] = DISTMAT(XY) Also returns the automatic option used by the functionInputs:XY is an NxP matrix of coordinates for N points in P dimensionsOPT (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 matrixOPT=1 Usually fastest for small inputs. Takes advantage of the symmetric property of distance matrices to perform half as many calculationsOPT=2 Usually fastest for medium inputs. Uses a fully vectorized methodOPT=3 Usually fastest for large inputs. Uses a partially vectorized method with relatively small memory requirementOPT=4 Another compact calculation, but usually slower than the others Requirements: ยท MATLAB Release: R2007a
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

Apple prepares iPhone 5 and iOS 6

Apple prepares iPhone 5 and iOS 6

New information coming from some sources close to Apple confirming that the Cupertino giant is testing two different models of iPhone, called internal iPhone5, 1 and iPhone 5.2. Apparently, both devices have a screen of 3.95 inches and a resolution of 113

Posted on: 24 May 2012 08:36 by A. Brown

Windows 8 estimates: 500 million users in 2013

Windows 8 estimates: 500 million users in 2013

Microsoft expects to launch a new wave of optimism with Windows 8. In a recent statement, Steve Ballmer, chief executive at Microsoft, estimates that Windows 8 will reach a total of about 500 million users by the end of 2013.

Posted on: 24 May 2012 08:25 by A. Brown

SPREAD THE WORD

User Rating

Distance Matrix
Rating: 5.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 5.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5