Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Aqua Data Studio 19.5
ConyEdit for Windows 1.1.1
GetOrgChart 2.5.3.0
Database Workbench Pro 5.6.0
.Net VCL for Delphi 1.0.0.0
Top Code
MCU 8051 IDE 1.4.7
C/C++ GRAPHICAL LIBRARY NE 1.0
Faculty Evaluation System 1.1
jClientUpload 1.0
heap sort
Azizi search engine script PHP 4.1.10
Simulation of MUSIC (DOA ESTIMATION) - GUI 1.0
PHP Product Order Form 1.0
PHP MLM Software 2.0.1
MLM Binary Plan Script – i-Netsolution 1.0.2
Restaurant Table Booking System 2.0
Cuckoo Optimization Algorithm 1.0
Ant Colony Optimization (ACO) 1.0
deploypcode - recursively pcode files with help attached 1.0
C/C++ Coding Standards Analysis 1.0
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
Distance Matrix Latitude Longitude 1.0
File ID: 83166






Distance Matrix Latitude Longitude 1.0
Download Distance Matrix Latitude Longitude 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 8
Submit Rating:
Distance Matrix Latitude Longitude 1.0 Description
Description: 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):

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

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

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

EXAMPLE:
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];
[D,XI,YI]=distmatlatlon(X,Y)

License: Freeware

Related: 039nm039, kilometers, 039km039, output, nautical, miles, statute, 039sm039, Units

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 8



More Similar Code

specify a file name and a matrix containing latitude / longitude data and the program outputs a KML track file viewable in Google Earth.



This module provides a CCK field for Latitude/Longitude. It stores the values in a fairly naive/simple manner as mere decimal numbers. It provides basic views integration to show the values as numbers. A more full featured solution is the CCK...



Three ways to calculate a distance matrix out of a list of n-dimensional points using scipy.



Transform a inner product matrix or kernel matrix to a square of distance matrix



This program tests an input matrix to see if it is a Euclidean distance matrix to within a user-specified tolerance. If not, it reports why and returns the closest EDM in the sense of Schoenberg.



ECEF2LLA - convert earth-centered earth-fixed (ECEF) cartesian coordinates to latitude, longitude, and altitude.

USAGE:
[lat,lon,alt] = ecef2lla(x,y,z)

lat = geodetic latitude (radians)
lon = longitude (radians)



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.

DISTMAT(X,Y,d) computes a specific d-norm distance. Default=2



LAT_LON_PROPORTIONS Scales a plot in latitude & longitude axis to
meters. It will compress the x axis by cos(latitude) in order to
reflect the relationship between a degree latitude and a degree
longitude at the center of the...



Predict the azimuth and elevation of the Sun within +/- 1 degree at any geodetic latitude, longitude and altitude.

Function Call: [Az El] = SolarAzEl('2008/02/18 13:10:00',60,15,0)

Input List:
UTC Date and Time - Use...



This algorithm will accept a Latitude, Longitude and Altitude location as well as a specific universal coordinated time. It will use this information and calculate the position of the moon in a local coordinate frame (az and alt aka az and el).

User Review for Distance Matrix Latitude Longitude
- required fields
     

Please enter text on the image