mfwdtran
(To be removed) Project geographic features to map coordinates
mfwdtran will be removed in a future release. In most
cases, use the projfwd function instead. If
the mapprojection property of the current
axesm-based map or specified map projection
structure is 'globe', then use the geodetic2ecef function
instead. For more information, see Version History.
Syntax
[x,y] = mfwdtran(lat,lon)
[x,y,z] = mfwdtran(lat,lon,alt)
[...] = mfwdtran(mstruct,...)
Description
[x,y] = mfwdtran(lat,lon) applies the
forward transformation defined by the map projection in the current
axesm-based map. You can use this function to
convert point locations and line and polygon vertices given in latitudes and
longitudes to a planar, projected map coordinate system.
[x,y,z] = mfwdtran(lat,lon,alt)
applies the forward projection to 3-D input, resulting in 3-D output. If the
input alt is empty or omitted, then
alt = 0 is assumed.
[...] = mfwdtran(mstruct,...) requires
a valid map projection structure as the first argument. In this case, no
axesm-based map is needed.