image thumbnail

updated 3 months ago

Distance calculation using Haversine formula by Josiah Renfree

Compute the distance between two locations using the Haversine formula (haversine, latitude, longitude)

haversine(loc1, loc2)

image thumbnail

updated 8 months ago

Zip Code Latitude Longitude City State County by Sami

Distance between two zip codes (zip, zip code, distance)

ZipLatLon.m

image thumbnail

updated 10 months ago

land_or_ocean.m by Dan Chavas

Determine if input points (lat/lon) are over land or ocean (land, ocean, latitude)

land_or_ocean(lat,lon,coastal_res,make_plot)

land_or_ocean_example.m

image thumbnail

updated 1 year ago

utm2lonlat by Erwin

Functions to convert vectors containing UTM coordinates into Lat/Lon vectors (WGS84) and vice versa (utm, coordinates, latitude)

deg2utm(Lat,Lon)

utm2deg(xx,yy,utmzone)

image thumbnail

updated 1 year ago

Rotated grid transform by Simon Funder

Transforms coordinates from regular to rotated grid and vice versa. (coordinates, rotated, grid)

rotated_grid_transform(grid_in, option, SP_coor)

image thumbnail

updated 1 year ago

Android sensor data acquisition – location sensor (GPS) example by MathWorks Mobile Sensor Connectivity Team

Acquire and visualize location data for a mobile device from a computer running MATLAB. (android, location, gps)

CapturingAndMappingGPSExample.m

image thumbnail

updated 1 year ago

iPhone sensor data acquisition – location sensor (GPS) example by MathWorks Mobile Sensor Connectivity Team

Acquire and visualize location data for a mobile device from a computer running MATLAB. (iphone, location, gps)

CapturingAndMappingGPSExample.m

image thumbnail

updated 1 year ago

IP address lookup of country name, city name, latitude and longitude by Lee White

Finds the country name, region name, city name, latitude and longitude from an IP address. (ip address, country, city)

IP_location_lookup(ip_address_as_string)

image thumbnail

updated 1 year ago

Vectorized Solar Azimuth and Elevation Estimation by Darin Koblick

Predict the topocentric solar position defined by geodetic lat, lon, Alt, and a universal time (aerospace, alt, altitude)

SolarAzEl(UTC,Lat,Lon,Alt)

test_SolarAzEl()

image thumbnail

updated 2 years ago

LL2OS by Michael Fourman

Convert from Lat Lon to OSGB coordinates (latitude, longitude, osgb)

ll2os( lat, lon )

image thumbnail

updated 2 years ago

Conversion of Spherical Coordinates to UTM Coordinates by Gabriel Ruiz

GUI allows you convert spherical coordinates to UTM coordinates (latitude, longitude, utm)

Conversion of Spherical Coordinates to UTM Coordinates

UTM(instruccion)

image thumbnail

updated 2 years ago

GeoCode by Stuart Layton

Lookup the latitude and longitude of an address using different geocoding services (geocoding, latitude, longitude)

geoCode(address, service, key)

image thumbnail

updated 2 years ago

Time-Latitude-Longitude to KML by Patrick Robinson

Converts a matrix of [Time,Latitude,Longitude] to a google earth KML file (track, kml, googleearth)

pwr_kml_tll(Name,TLL)

image thumbnail

updated 2 years ago

Get Geometric Location and Other Information by Semin Ibisevic

Tracks down your geometric coordinates and other information on the base of the IP address (geometric, coordinates, ip)

getGeoInformation(IP)

getTableFromWeb(varargin)

gweather.m

image thumbnail

updated 2 years ago

IATA code to longitude and latitude by Tom K

A function enabling the easy extraction of longitude and latitude data from an IATA code. (iata, aerospace, data import)

IATA2lonlat(code)

image thumbnail

updated 2 years ago

posdist by Jakob Tougaard

Calculates distance between two geographical positions in lat/long format (distance, latitude, longitude)

posdist(lat1,lon1,lat2,lon2,method)

image thumbnail

updated almost 3 years ago

wgs2utm (version 2) by Alexandre Schimel

Convert WGS84 coordinates (Latitude, Longitude) into UTM coordinates (northing, easting). (wgs, wgs84, utm)

wgs2utm(Lat,Lon,utmzone,utmhemi)

image thumbnail

updated 3 years ago

haversine by Ritchie Smith

Computes the haversine (great circle) distance in metres between successive points on the Earth. (haversine, latitude, longitude)

d=haversine(lat,long)

image thumbnail

updated 3 years ago

Convert UTC to Solar Apparent Time by Darin Koblick

Convert a time given in UTC to Solar Apparent or Solar Mean Time (solar mean time, solar apparent time, utc)

EquationOfTime(UTCjd)

UTC2SolarApparentTime(UTC,Lon)

image thumbnail

updated 3 years ago

Correctly proportion a lat/lon plot by Jonathan Sullivan

Correctly proportions a lat/lon plot based on a spherical Earth assumption (latitude, longitude, proportions)

lat_lon_proportions(h)

image thumbnail

updated 4 years ago

Lunar Azimuth and Altitude Estimation Algorithm by Darin Koblick

Predict the Lunar Azimuth and Altitude within +/- .2 deg of any lat and lon for a given UTC (aerospace, astronomy, moon)

LunarAzEl(UTC,Lat,Lon,Alt)

image thumbnail

updated 4 years ago

Conversion from Right Ascension/Declination to Altitude/Azimuth in Matlab by Christopher Wilcox

Convert from Right Ascension/Declination to Altitude/Azimuth. (altitude, azimuth, latitude)

RADec2AltAz(RA,Dec,Latitude,Longitude,time)

image thumbnail

updated 4 years ago

Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab by Christopher Wilcox

Convert from Altitude/Azimuth to Right Ascension/Declination (altitude, azimuth, latitude)

AltAz2RaDec(Altitude,Azimuth,Latitude,Longitude,time)

image thumbnail

updated 5 years ago

GPX file reader by karl critz

%LOADGPX Loads route points from a GPS interchange file (geodetic, mapping, latitude)

loadgpx(fileName,varargin)

image thumbnail

updated almost 6 years ago

Yahoo GeoCode API by Scott Frasso

GeoCode an address using the Yahoo GeoCode API. (yahoo, geocode, latitude)

image thumbnail

updated 7 years ago

UK Postcode to Lat/Long for GPS by Yi Cao

A small tool to convert a UK postcode to Lat/Long degrees for GPS (postcode, latitude, longitude)

[lat,long]=ukpostcode2latlong(postcode)

image thumbnail

updated 8 years ago

Conversion of UTM Coordinates to Spherical Coordinates by Gabriel Ruiz

Little GUI allows you convert UTM coordinates to spherical coordinates. (latitude, longitude, utm)

UTMIP(instruccion)

image thumbnail

updated 8 years ago

utm2deg by Rafael Palacios

Function to convert vectors of UTM coordinates into Lat/Lon vectors (WGS84) (utm, coordinates, latitude)

utm2deg(xx,yy,utmzone)

image thumbnail

updated 8 years ago

deg2utm by Rafael Palacios

Function to convert lat/lon vectors into UTM coordinates (WGS84) (utm, coordinates, latitude)

deg2utm(Lat,Lon)

image thumbnail

updated 8 years ago

Convert Cartesian (ECEF) Coordinates to lat, lon, alt by Michael Kleder

Convert earth-centered, earth-fixed (ECEF) coordinates to latitude, longitude, and altitude. (ecf, ecef, cartesian)

image thumbnail

updated 9 years ago

generate_great_circle_path by Jeff Barton

Generate a great circle "trajectory" from [lat1,lon1] to [lat2,lon2]. (aerospace, aeronautics, aerodef)

image thumbnail

updated 9 years ago

Covert lat, lon, alt to ECEF Cartesian by Michael Kleder

Convert latitude, longitude,altitude to earth-centered, earth-fixed (ECEF) cartesian coordinate. (ecf, ecef, cartesian)

image thumbnail

updated 10 years ago

pos2dist by Langqiu Sun

Calculate distance between two points on earth's surface given by latitude-longitude pair. (distance, points, surface)

image thumbnail

updated 15 years ago

longlat2os by Jon Yearsley

Convert to longitude/latitude to UK Ordnance and vice versa. (longitude, latitude, ordnance)

longlat2os(longitude,latitude,units,output),

os2longlat(osref),

Contact us