Help CenterHelp Center
Return world x-coordinate of map raster index (1,1)
x = firstCornerX(R)
example
x = firstCornerX(R) returns the world x-coordinate of the outermost corner of the first element (1,1) of map raster R.
x
R
collapse all
Import a GeoTIFF image [1] of Boston as an array and a MapCellsReference object. Find the world x-coordinate of the outermost corner of the first cell.
MapCellsReference
[Z,R] = readgeoraster('boston.tif'); x = firstCornerX(R)
x = 7.6432e+05
[1] The data used in this example includes material copyrighted by GeoEye, all rights reserved.
MapPostingsReference
Map raster, specified as a MapCellsReference or MapPostingsReference object.
World x-coordinate, returned as a numeric scalar.
Data Types: double
double
Introduced in R2013b
firstCornerY
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office