# track2

Geographic track points from starting and ending points

## Syntax

## Description

### Track Points Along Unit Sphere

`[`

finds the latitude and longitude coordinates of points along a great circle track from the
starting point with coordinates `lattrk`

,`lontrk`

] = track2(`lat1`

,`lon1`

,`lat2`

,`lon2`

)`lat1`

and `lon1`

to
the ending point with coordinates `lat2`

and `lon2`

.
This syntax references the coordinates to a unit sphere and assumes that all input
arguments are in degrees.

### Track Points Along Ellipsoid

### Additional Options

returns the
latitude and longitude coordinates of the track points in the matrix
`mat`

= track2(___)`mat`

.

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced before R2006a**