Mapping Toolbox Previous page   Next Page
nanm

Create data grids containing NaNs

Syntax

map = nanm(latlim,lonlim,scale) returns a regular data grid consisting entirely of NaNs. The two-element vectors latlim and lonlim define the latitude and longitude limits of the geographic region. They should be of the form [north south] and [east west], respectively. The number of rows and columns per angle unit is set by the scalar value scale.

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

Example

See Also

limitm
Data grid limits
onem
Create a data grid of ones
sizem
Row and column dimensions needed for map
spzerom
Create a sparse data grid of zeros
zerom
Create a full data grid of zeros


Previous page  nanclip navfix Next page

Learn more about the latest releases of MathWorks products:

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