Mapping Toolbox Previous page   Next Page
spzerom

Create a sparse data grid of zeros

Syntax

map = spzerom(latlim,lonlim,scale) returns a sparse regular data grid consisting entirely of zeros. 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 number of rows and columns per angle unit is set by the scalar scale.

[map,refvec] = spzerom(latlim,lonlim,scale) returns the three-element referencing vector for the returned map.

Examples

See Also

limitm
Matrix map limits
nanm
Create a data grid of NaNs
onem
Create a data grid of ones
sizem
Rows and columns needed for map
zerom
Create a full data grid of zeros


Previous page  spcread stdist Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS