Select UTM zone given latitude and longitude
zone = utmzone
zone = utmzone(lat,long)
zone = utmzone(mat),
[latlim,lonlim] = utmzone(zone),
lim = utmzone(zone)
zone = utmzone(lat,long) returns the UTM zone containing the geographic coordinates. If lat and long are vectors, the zone containing the geographic mean of the data set is returned. The geographic coordinates must be in units of degrees.
[latlim,lonlim] = utmzone(zone), where zone is a valid UTM zone designation, returns the geographic limits of the zone. Valid UTM zones designations are numbers, or numbers followed by a single letter. For example, '31' or '31N'. The returned limits are in units of degrees.
The Universal Transverse Mercator (UTM) system of projections tiles the world into quadrangles called zones. This function can be used to identify which zone is used for a geographic area and, conversely, what geographic limits apply to a UTM zone.
[latlim,lonlim] = utmzone('12F') latlim = -56 -48 lonlim = -114 -108 utmzone(latlim,lonlim) ans = 12F
The UTM zone system is based on a regular division of the globe, with the exception of a few zones in northern Europe. utmzone does not account for these deviations.