# intrinsicYToLatitude

Convert from intrinsic y to latitude coordinates

## Description

example

lat = intrinsicYToLatitude(R,yIntrinsic) returns the latitude of the small circle corresponding to the y-coordinate yIntrinsic in the intrinsic coordinate system, based on the relationship defined by geographic raster R.

## Examples

collapse all

Import elevation data [1] for a region in Colorado as an array and a GeographicPostingsReference object. Find the latitude corresponding to the posting points in row 91 of the array.

lat = intrinsicYToLatitude(R,91)
lat = 39.9250

[1] The elevation data used in this example is from the U.S. Geological Survey.

## Input Arguments

collapse all

Geographic raster, specified as a GeographicCellsReference or GeographicPostingsReference object.

y-coordinates in intrinsic coordinate system, specified as a numeric array. yIntrinsic coordinates can be outside the bounds of the raster R.

Data Types: single | double

## Output Arguments

collapse all

Latitude coordinates, returned as a numeric array. lat is the same size as yIntrinsic.

When a point has intrinsic y-coordinate outside the bounds of raster R, lat(k) is extrapolated outside the latitude limits. However, when a point extrapolates to a latitude beyond the poles (latitude outside the range [-90, 90] degrees), lat(k) is set to NaN. Elements of yIntrinsic with value NaN map to NaN in lat.

Data Types: double

## Version History

Introduced in R2013b