lat1
, lon1
— First set of latitude or longitude coordinates
numeric scalar | numeric array
First set of latitude or longitude coordinates, specified as a numeric scalar or numeric array. The coordinates are expressed in degrees unless
units
is specified as 'radians'
.Ubuntu small iso. How do you find the distance between two latitudes? If you treat the Earth as a sphere with a circumference of 25,000 miles, then one degree of latitude is 25,000/360 = 69.44 miles. A minute is thus 69.44/60 = 1.157 miles, and a second is 1.15/60 = 0.0193 miles, or about 101 feet. Latitude and Longitude for various locations.
Data Types:
single
| double
lat2
, lon2
— Second set of latitude or longitude coordinates
numeric scalar | numeric array
Latitude Kid Definition
At 38 degrees North latitude, one degree of latitude equals approximately 364,000 ft (69 miles), one minute equals 6068 ft (1.15 miles), one-second equals 101 ft; one-degree of longitude equals 288,200 ft (54.6 miles), one minute equals 4800 ft (0.91 mile), and one second equals 80 ft. What is the distance between two longitudes? Definitions of LATITUDE, synonyms, antonyms, derivatives of LATITUDE, analogical dictionary of LATITUDE (English).
Second set of latitude or longitude coordinates, specified as a numeric scalar or numeric array. The coordinates are expressed in degrees unless
units
is specified as 'radians'
.Data Types:
single
| double
pt1
— First set of point coordinates
N-by-2 numeric matrix
First set of point coordinates, specified as an N-by-2 numeric matrix.
pt1
is equivalent to [lat1 lon1]
when lat1
and lon1
are column vectors.Data Types:
single
| double
pt2
— Second set of point coordinates
N-by-2 numeric matrix
Second set of point coordinates, specified as an N-by-2 numeric matrix.
pt2
is equivalent to [lat2 lon2]
when lat2
and lon2
are column vectors.ellipsoid
— Reference ellipsoid
referenceSphere
object | referenceEllipsoid
object | oblateSpheroid
object | two-element vector
Reference ellipsoid, specified as an
referenceSphere
, referenceEllipsoid
, or oblateSpheroid
object, or a two-element vector of the form [semimajor_axis eccentricity]
.Example:
referenceEllipsoid('GRS80')
Example:
[6378.137 0.0818191910428158]
Distance Of 1 Second Latitude
units
— Angle units
'degrees'
(default) | 'radians'
Angle units of the latitude and longitude coordinates, specified as
'degrees'
or 'radians'
.Definition Of Latitude
Data Types:
char
Track, specified as one of the following character vectors.
'gc'
— Great circle distances are computed on a sphere and geodesic distances are computed on an ellipsoid.'rh'
— Rhumb line distances are computed on either a sphere or ellipsoid.
Data Types:
char
Directv now user profiles.