spzerom
(Removed) Construct sparse regular data grid of 0s
spzerom
has been removed. Use the georefcells
and sparse
functions instead. For more
information, see Version History.
Syntax
[Z,refvec] = spzerom(latlim,lonlim,scale)
Description
[Z,refvec] = spzerom(latlim,lonlim,scale)
returns a sparse regular data grid consisting entirely of 0
s and a
three-element referencing vector for the returned Z
. The two-element
vectors latlim
and lonlim
define the latitude and
longitude limits of the geographic region. They should be of the form [south
north]
and [west east]
, respectively. The scalar
scale
specifies the number of rows and columns per degree of latitude
and longitude.
Examples
[Z,refvec] = spzerom([46,51],[-79,-75],1) Z = All zero sparse: 5-by-4 refvec = 1 51 -79
Version History
Introduced before R2006aSee Also
NaN
| ones
| zeros
| sparse
| georefcells