| Mapping Toolbox | ![]() |
Create a sparse matrix map of zeros
Syntax
map = spzerom(latlim,lonlim,scale) [map,maplegend] = spzerom(latlim,lonlim,scale)
Description
map = spzerom(latlim,lonlim,scale) returns a sparse regular matrix map 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,maplegend] = spzerom(latlim,lonlim,scale) returns the three-element map legend vector for the returned map.
Examples
[map,maplegend] = spzerom([46,51],[-79,-75],1)map =All zero sparse: 5-by-4maplegend =1 51 -79
See Also
limitm |
Matrix map limits |
map legend vector |
Data structure for describing regular matrix maps |
nanm |
Create a matrix map of NaNs |
onem |
Create a matrix map of ones |
sizem |
Rows and columns needed for map |
zerom |
Create a full matrix map of zeros |
| spcread | stdist | ![]() |