About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 96
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Mike Sheppard (29 other programs)
See full specifications

scripts default iconDistance Matrix Latitude Longitude (Scripts) Publisher's description

DISTMATLATLON Computes distance matrix between list of coords in X and Y

DISTMATLATLON Computes distance matrix between list of coords in X and Y
D = DISTMATLATLON(X,Y) for matrices X and Y, with columns [Lat Lon],
returns the distance matrix where the (i,j)th entry is the distance
between the i'th and j'th row of X and Y respectively.

X and Y must have columns in the form of [Lat Lon], but can be different
in number of rows.

[D,XI,YI]=DISTMATLATLON(X,Y,varargin) gives the indices of the sorted
values of matrix D, depending on the inputs of varargin.
(The n'th row of XI is the ordering of distance to each member of Y in
relationship to X(n); similarly for YI. The ordering is specified by
the user, see below)

To compare a matrix with itself use DISTMATLATLON(X,X)

Optional Parameters (in any order):

'ascend' : Rank XI and YI in ascending order. (DEFAULT)
'descend' : Rank XI and YI in descending order.

'gc' : Great Circle Distance (DEFAULT)
'rh' : Rhumb Line Distance

'km' : Kilometers (DEFAULT)
'nm' : Nautical Miles
'sm' : Statute Miles

X is 3 major US cities representing DC, NYC, and LA
Y is 2 major European cities representing London and Paris
What is the distance between each city in X to each city in Y,
in kilometers, and their ordering?
X=[38.895, -77.037; 40.717, -74.000; 34.050, -118.250];
Y=[51.507, -00.128; 48.857, 02.351];

System Requirements:

MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Distance Matrix Latitude Longitude (Scripts) Tags:

Click on a tag to find related softwares

Is Distance Matrix Latitude Longitude (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.