georesize
Resize geographic raster
Syntax
Description
[
returns the raster B
,RB
] = georesize(A
,RA
,scale
)B
that is scale
times the size
of the raster A
. RA
is a geographic raster
reference object that specifies the location and extent of data in A
.
georesize
returns the raster reference object RB
that is associated with the returned raster B
. By default,
georesize
uses cubic interpolation.
georesize
preserves the limits of the raster. If the scale specified
divides evenly into the numbers of cells in each dimension, or the number of samples in each
dimension minus 1, the limits of the output are the same as the input. Otherwise,
georesize
adjusts the output limits by a fraction of the cell extents
or sample spacing values.
Examples
Input Arguments
Output Arguments
Tips
Use
georesize
with raster data in latitude and longitude coordinates. To work with projected raster data, in x- and y-coordinates, usemapresize
.
Version History
Introduced in R2019a