| Mapping Toolbox™ | ![]() |
Function Reference | Alphabetical List |
|
|
| arcgridread | Read gridded data set in Arc ASCII Grid Format |
| geotiffinfo | Information about GeoTIFF file |
| geotiffread | Read georeferenced image from GeoTIFF file |
| getworldfilename | Derive worldfile name from image filename |
| kmlwrite | Write geographic data to KML file |
| makeattribspec | Attribute specification from geographic data structure |
| sdtsdemread | Read data from SDTS raster/DEM data set |
| sdtsinfo | Information about SDTS data set |
| shapeinfo | Information about shapefile |
| shaperead | Read vector features and attributes from shapefile |
| shapewrite | Write geographic data structure to shapefile |
| worldfileread | Read worldfile and return referencing matrix |
| worldfilewrite | Construct worldfile from referencing matrix |
| dted | Read U.S. Department of Defense Digital Terrain Elevation Data (DTED) |
| dteds | DTED filenames for latitude-longitude quadrangle |
| etopo | Read global 5-min or 2-min digital terrain data |
| globedem | Read Global Land One-km Base Elevation (GLOBE) data |
| globedems | GLOBE data filenames for latitude-longitude quadrangle |
| gtopo30 | Read 30-arc-second global digital elevation data (GTOPO30) |
| gtopo30s | GTOPO30 data filenames for latitude-longitude quadrangle |
| satbath | Read 2-minute terrain/bathymetry from Smith and Sandwell |
| tbase | Read 5-minute global terrain elevations from TerrainBase |
| usgs24kdem | Read USGS 7.5-minute (30-m or 10-m) Digital Elevation Models |
| usgsdem | Read USGS 1-degree (3-arc-second) Digital Elevation Model |
| usgsdems | USGS 1-degree (3-arc-sec) DEM filenames for latitude-longitude quadrangle |
| dcwdata | Read selected DCW worldwide basemap data |
| dcwgaz | Search DCW worldwide basemap gazette file |
| dcwread | Read DCW worldwide basemap file |
| dcwrhead | Read DCW worldwide basemap file headers |
| fipsname | Read Federal Information Processing Standard (FIPS) name file used with TIGER thinned boundary files |
| gshhs | Read Global Self-Consistent Hierarchical High-Resolution Shoreline |
| tgrline | Read TIGER/Line data |
| vmap0data | Read selected data from Vector Map Level 0 |
| vmap0read | Read Vector Map Level 0 file |
| vmap0rhead | Read Vector Map Level 0 file headers |
| avhrrgoode | Read AVHRR data product stored in Goode Projection |
| avhrrlambert | Read AVHRR data product stored in eqaazim projection |
| egm96geoid | Read 15-minute gridded geoid heights from EGM96 |
| readfk5 | Read Fifth Fundamental Catalog of Stars |
| demdataui | UI for selecting digital elevation data |
| vmap0ui | UI for selecting data from Vector Map Level 0 |
| grepfields | Identify matching fields in fixed record length files |
| readfields | Read fields or records from fixed-format files |
| readmtx | Read matrix stored in file |
| spcread | Read columns of data from ASCII text file |
| almanac | Parameters for Earth, planets, Sun, and Moon |
|
| extractfield | Field values from structure array |
| extractm | Coordinate data from line or patch display structure |
| updategeostruct | Convert line or patch display structure to geostruct |
| bufferm | Buffer zones for latitude-longitude polygons |
| flatearthpoly | Insert points along date line to pole |
| interpm | Densify latitude-longitude sampling in lines or polygons |
| intrplat | Interpolate latitude at given longitude |
| intrplon | Interpolate longitude at given latitude |
| ispolycw | True if polygon vertices are in clockwise order |
| nanclip | Clip vector data with NaNs at specified pen-down locations |
| poly2ccw | Convert polygon contour to counterclockwise vertex ordering |
| poly2cw | Convert polygon contour to clockwise vertex ordering |
| poly2fv | Convert polygonal region to patch faces and vertices |
| polycut | Polygon branch cuts for holes |
| polymerge | Merge line segments with matching endpoints |
| reducem | Reduce density of points in vector data |
| closePolygonParts | Close all rings in multipart polygon |
| isShapeMultipart | True, if polygon or line has multiple parts |
| polyjoin | Convert line or polygon parts from cell arrays to vector form |
| polysplit | Convert line or polygon parts from vector form to cell arrays |
| removeExtraNanSeparators | Clean up NaN separators in polygons and lines |
|
| latlon2pix | Convert latitude-longitude coordinates to pixel coordinates |
| limitm | Determine latitude and longitude limits of regular data grid |
| makerefmat | Construct affine spatial-referencing matrix |
| map2pix | Convert map coordinates to pixel coordinates |
| mapbbox | Compute bounding box of georeferenced image or data grid |
| mapoutline | Compute outline of georeferenced image or data grid |
| meshgrat | Construct map graticule for surface object display |
| pix2map | Convert pixel coordinates to map coordinates |
| pixcenters | Compute pixel centers for georeferenced image or data grid |
| refmat2vec | Convert referencing matrix to referencing vector |
| refvec2mat | Convert referencing vector to referencing matrix |
| setltln | Convert data grid rows and columns to latitude-longitude |
| setpostn | Convert latitude-longitude to data grid rows and columns |
| gradientm | Calculate gradient, slope and aspect of data grid |
| los2 | Line-of-sight visibility between two points in terrain |
| viewshed | Areas visible from point on terrain elevation grid |
| areamat | Surface area covered by nonzero values in binary data grid |
| filterm | Filter latitudes and longitudes based on underlying data grid |
| findm | Latitudes and longitudes of nonzero data grid elements |
| ltln2val | Extract data grid values for specified locations |
| mapprofile | Interpolate heights between waypoints on regular data grid |
| changem | Substitute values in data array |
| encodem | Fill in regular data grid from seed values and locations |
| geoloc2grid | Convert geolocated data array to regular data grid |
| imbedm | Encode data points into regular data grid |
| neworig | Orient regular data grid to oblique aspect |
| resizem | Resize regular data grid |
| sizem | Row and column dimensions needed for regular data grid |
| vec2mtx | Convert latitude-longitude vectors to regular data grid |
| nanm | Construct regular data grid of NaNs |
| onem | Construct regular data grid of 1s |
| spzerom | Construct sparse regular data grid of 0s |
| zerom | Construct regular data grid of 0s |
|
For specific map projections, see Map Projections Reference.
| maplist | Available Mapping Toolbox map projections |
| maps | List available map projections and verify names |
| projlist | Map projections supported by projfwd and projinv |
| mfwdtran | Project geographic features to map coordinates |
| minvtran | Unproject features from map to geographic coordinates |
| projfwd | Forward map projection using PROJ.4 map projection library |
| projinv | Inverse map projection using PROJ.4 map projection library |
| maptriml | Trim lines to latitude-longitude quadrangle |
| maptrimp | Trim polygons to latitude-longitude quadrangle |
| maptrims | Trim regular data grid to latitude-longitude quadrangle |
| distortcalc | Distortion parameters for map projections |
| vfwdtran | Direction angle in map plane from azimuth on ellipsoid |
| vinvtran | Azimuth on ellipsoid from direction angle in map plane |
| mdistort | Display contours of constant map distortion |
| tissot | Project Tissot indicatrices on map axes |
| utmgeoid | Select ellipsoids for given UTM zone |
| utmzone | Select UTM zone given latitude and longitude |
| newpole | Origin vector to place specific point at pole |
| org2pol | Location of north pole in rotated map |
| putpole | Origin vector to place north pole at specified point |
| clipdata | Clip data at +/-pi in longitude, +/-pi in latitude |
| trimcart | Trim graphic objects to map frame |
| trimdata | Trim map data exceeding projection limits |
| undoclip | Remove object clips introduced by clipdata |
| undotrim | Remove object trims introduced by trimdata |
|
| axesm | Define map axes and set map properties |
| displaym | Display geographic data from display structure |
| geoshow | Display map latitude and longitude data |
| grid2image | Display regular data grid as image |
| mapview | Interactive map viewer |
| usamap | Construct map axes for United States of America |
| worldmap | Construct map axes for given region of world |
| makesymbolspec | Construct vector layer symbolization specification |
| contour3m | Project 3-D contour plot of map data |
| contourfm | Project filled 2-D contour plot of map data |
| contourm | Project 2-D contour plot of map data |
| linem | Project line object on map axes |
| plot3m | Project 3-D lines and points on map axess |
| plotm | Project 2-D lines and points on map axes |
| fill3m | Project filled 3-D patch objects on map axes |
| fillm | Project filled 2-D patch objects on map axes |
| patchesm | Project patches on map axes as individual objects |
| patchm | Project patch objects on map axes |
| meshm | Project regular data grid on map axes |
| pcolorm | Project regular data grid on map axes in z = 0 plane |
| surfacem | Project and add geolocated data grid to current map axes |
| surfm | Project geolocated data grid on map axes |
| lightm | Project light objects on map axes |
| meshlsrm | 3-D lighted shaded relief of regular data grid |
| shaderel | Construct cdata and colormap for shaded relief |
| surflm | 3-D shaded surface with lighting on map axes |
| surflsrm | 3-D lighted shaded relief of geolocated data grid |
| comet3m | Project 3-D comet plot on map axes |
| cometm | Project 2-D comet plot on map axes |
| quiverm | Project 2-D quiver plot on map axes |
| scatterm | Project point markers with variable color and area |
| stem3m | Project stem plot map on map axes |
| symbolm | Project point markers with variable size |
| clabelm | Add contour labels to map contour display |
| framem | Toggle and control display of map frame |
| gridm | Toggle and control display of graticule lines |
| lcolorbar | Colorbar with text labels |
| mlabel | Toggle and control display of meridian labels |
| mlabelzero22pi | Convert meridian labels to 0-360 degree range |
| northarrow | Add graphic element pointing to geographic north pole |
| plabel | Toggle and control display of parallel labels |
| rotatetext | Rotate text to projected graticule |
| scaleruler | Add or modify graphic scale on map axes |
| textm | Project text annotation on map axes |
| contourcmap | Contour colormap and colorbar current axes |
| demcmap | Colormaps appropriate to terrain elevation data |
| polcmap | Colormaps appropriate to political regions |
| gcpmap | Current mouse point from map axes |
| gtextm | Place text on map using mouse |
| inputm | Latitudes and longitudes of mouse-click locations |
| scircleg | Small circle defined via mouse input |
| sectorg | Sector of small circle defined via mouse input |
| trackg | Great circle or rhumb line defined via mouse input |
| clrmenu | Add colormap menu to figure window |
| colorm | Create index map colormaps |
| colorui | Interactively define RGB color |
| getseeds | Interactively assign seeds for data grid encoding |
| lightmui | Control position of lights on globe or 3-D map |
| maptool | Add menu activated tools to map figure |
| maptrim | Interactively trim and convert map data from vector to raster format |
| mlayers | GUI to control plotting of display structure elements |
| mobjects | Manipulate object sets displayed on map axes |
| originui | Interactively modify map origin |
| panzoom | Pan and zoom on map axes |
| parallelui | Interactively modify map parallels |
| qrydata | GUI to interactively perform data queries |
| rootlayr | Construct cell array of workspace variables for mlayers tool |
| seedm | GUI to fill data grids with seeded values |
| surfdist | Interactive distance, azimuth, and reckoning calculations |
| uimaptbx | Handle buttondown callbacks for mapped objects |
| utmzoneui | Choose or identify UTM zone by clicking map |
| cart2grn | Transform projected coordinates to Greenwich system |
| defaultm | Initialize or reset map projection structure |
| gcm | Current map projection structure |
| geotiff2mstruct | Convert GeoTIFF information to map projection structure |
| getm | Map object properties |
| handlem | Handles of displayed map objects |
| ismap | True for axes with map projection |
| ismapped | True, if object is projected on map axes |
| makemapped | Convert ordinary graphics object to mapped object |
| namem | Determine names of valid graphics objects |
| project | Project displayed map graphics object |
| restack | Restack objects within map axes |
| rotatem | Transform vector map data to new origin and orientation |
| setm | Set properties of map axes and graphics objects |
| tagm | Set Tag property of map graphics object |
| zdatam | Adjust z-plane of displayed map objects |
| axesscale | Resize axes for equivalent scale |
| camposm | Set camera position using geographic coordinates |
| camtargm | Set camera target using geographic coordinates |
| camupm | Set camera up vector using geographic coordinates |
| daspectm | Control vertical exaggeration in map display |
| paperscale | Set figure properties for printing at specified map scale |
| previewmap | View map at printed size |
| tightmap | Remove white space around map |
| clma | Clear current map axes |
| clmo | Clear specified graphics objects from map axes |
| hidem | Hide specified graphic objects on map axes |
| showaxes | Toggle display of map coordinate axes |
| showm | Specify graphic objects to display on map axes |
|
| antipode | Point on opposite side of globe |
| areaint | Surface area of polygon on sphere or ellipsoid |
| areaquad | Surface area of latitude-longitude quadrangle |
| azimuth | Azimuth between points on sphere or ellipsoid |
| departure | Departure of longitudes at specified latitudes |
| distance | Distance between points on sphere or ellipsoid |
| ellipse1 | Geographic ellipse from center, semimajor axes, eccentricity, and azimuth |
| gc2sc | Center and radius of great circle |
| meridianarc | Ellipsoidal distance along meridian |
| meridianfwd | Reckon position along meridian |
| reckon | Point at specified azimuth, range on sphere or ellipsoid |
| scircle1 | Small circles from center, range, and azimuth |
| scircle2 | Small circles from center and perimeter |
| track1 | Geographic tracks from starting point, azimuth, and range |
| track2 | Geographic tracks from starting and ending points |
| ecef2geodetic | Convert geocentric (ECEF) to geodetic coordinates |
| ecef2lv | Convert geocentric (ECEF) to local vertical coordinates |
| elevation | Local vertical elevation angle, range, and azimuth |
| geodetic2ecef | Convert geodetic to geocentric (ECEF) coordinates |
| lv2ecef | Convert local vertical to geocentric (ECEF) coordinates |
| axes2ecc | Eccentricity of ellipse with given axis lengths |
| convertlat | Convert between geodetic and auxiliary latitudes |
| ecc2flat | Flattening of ellipse with given eccentricity |
| ecc2n | n-value of ellipse with given eccentricity |
| flat2ecc | Eccentricity of ellipse with given flattening |
| geocentric2geodeticLat | Convert geocentric to geodetic latitude |
| geodetic2geocentricLat | Convert geodetic to geocentric latitude |
| majaxis | Semimajor axis of ellipse given semiminor axis and eccentricity |
| minaxis | Semiminor axis of ellipse given semimajor axis and eccentricity |
| n2ecc | Eccentricity of ellipse with given n-value |
| rcurve | Radii of curvature of ellipsoid |
| rsphere | Radii of auxiliary spheres |
| circcirc | Intersections of circles in Cartesian plane |
| gcxgc | Intersection points for pairs of great circles |
| gcxsc | Intersection points for great and small circle pairs |
| ingeoquad | True for points inside or on lat-lon quadrangle |
| intersectgeoquad | Intersection of two latitude-longitude quadrangles |
| linecirc | Intersections of circles and lines in Cartesian plane |
| outlinegeoquad | Polygon outlining geographic quadrangle |
| polybool | Set operations on polygonal regions |
| polyxpoly | Intersection points for lines or polygon edges |
| rhxrh | Intersection points for pairs of rhumb lines |
| scxsc | Intersection points for pairs of small circles |
| combntns | All possible combinations of set of values |
| eqa2grn | Convert from equal area to Greenwich coordinates |
| grn2eqa | Convert from Greenwich to equal area coordinates |
| hista | Histogram for geographic points with equal-area bins |
| meanm | Mean location of geographic coordinates |
| stdist | Standard distance for geographic points |
| stdm | Standard deviation for geographic points |
| crossfix | Cross-fix positions from bearings and ranges |
| dreckon | Dead reckoning positions for track |
| driftcorr | Heading to correct for wind or current drift |
| driftvel | Wind or current from heading, course, and speeds |
| gcwaypts | Equally spaced waypoints along great circle |
| legs | Courses and distances between navigational waypoints |
| navfix | Mercator-based navigational fix |
| timezone | Time zone based on longitude |
| track | Track segments to connect navigational waypoints |
|
| deg2rad | Convert angles from degrees to radians |
| degrees2dm | Convert degrees to degrees-minutes |
| degrees2dms | Convert degrees to degrees-minutes-seconds |
| dm2degrees | Convert degrees-minutes to degrees |
| dms2degrees | Convert degrees-minutes-seconds to degrees |
| fromDegrees | Convert angles from degrees |
| fromRadians | Convert angles from radians |
| rad2deg | Convert angle units from radians to degrees |
| str2angle | Convert strings to angles in degrees |
| toDegrees | Convert angles to degrees |
| toRadians | Convert angles to radians |
| unitsratio | Unit conversion factors |
| epsm | Accuracy in angle units for certain map computations |
| roundn | Round numbers to specified power of 10 |
| deg2km, deg2nm, deg2sm | Convert distance from degrees to kilometers, nautical miles, or statute miles |
| km2deg, nm2deg, sm2deg | Convert from distance units to degrees |
| km2nm, km2sm, nm2km, nm2sm, sm2km, sm2nm | Convert distance between kilometers and miles |
| km2rad, nm2rad, sm2rad | Convert from distance units to radians |
| rad2km, rad2nm, rad2sm | Convert distance from radians to kilometers, nautical miles, or statute miles |
| ind2rgb8 | Convert indexed image to uint8 RGB image |
| angl2str | Format angle strings |
| dist2str | Format distance strings |
| unwrapMultipart | Unwrap vector of angles with NaN-delimited parts |
| wrapTo180 | Wrap angle in degrees to [-180 180] |
| wrapTo2Pi | Wrap angle in radians to [0 2*pi] |
| wrapTo360 | Wrap angle in degrees to [0 360] |
| wrapToPi | Wrap angle in radians to [-pi pi] |
|
| axesm, axesmui | Define map axes and modify map projection and display properties |
| demdataui | UI for selecting digital elevation data |
| originui | Interactively modify map origin |
| parallelui | Interactively modify map parallels |
| utmzoneui | Choose or identify UTM zone by clicking map |
| vmap0ui | UI for selecting data from Vector Map Level 0 |
| maptool | Add menu activated tools to map figure |
| maptrim | Interactively trim and convert map data from vector to raster format |
| mapview | Interactive map viewer |
| mlayers | GUI to control plotting of display structure elements |
| mobjects | Manipulate object sets displayed on map axes |
| qrydata | GUI to interactively perform data queries |
| clrmenu | Add colormap menu to figure window |
| hidem-ui | Hide specified mapped objects |
| lightmui | Control position of lights on globe or 3-D map |
| panzoom | Pan and zoom on map axes |
| clmo | Clear specified graphics objects from map axes |
| colorui | Interactively define RGB color |
| handlem | Handles of displayed map objects |
| handlem-ui | GUI for handles of specified mapped objects |
| hidem | Hide specified graphic objects on map axes |
| property editors | GUIs to edit properties of mapped objects |
| showm | Specify graphic objects to display on map axes |
| tagm | Set Tag property of map graphics object |
| zdatam | Adjust z-plane of displayed map objects |
| scircleg | Small circle defined via mouse input |
| scirclui | GUI to display small circles on map axes |
| sectorg | Sector of small circle defined via mouse input |
| surfdist | Interactive distance, azimuth, and reckoning calculations |
| trackg | Great circle or rhumb line defined via mouse input |
| trackui | GUI to display great circles and rhumb lines on map axes |
| colorm | Create index map colormaps |
| seedm | GUI to fill data grids with seeded values |
![]() | Navigation | Functions — Alphabetical List | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |