Map latitude/longitude coordinates onto an ellipsoid. Vectorised.
latlong2ellipsoid(lat, long, a = 1, b = 1, c = 1)
| lat | latitude coordinates (scalar or vector, in radians) |
|---|---|
| long | longitude coordinates (same length as |
| a | semi-principal axis length |
| b | semi-principal axis length |
| c | semi-principal axis length |
a length(lat)x3 matrix giving the lat/long coordinates points
on an ellipsoid with the given axes lengths in 3d space