arcgridread - Read gridded data set in Arc ASCII Grid Format
Syntax
[Z,R] = arcgridread(filename)
Description
[Z,R] = arcgridread(filename) reads
a grid from a file in Arc ASCII Grid format. Z is
a 2-D array containing the data values. R is a
referencing matrix (see makrefmat). NaN is
assigned to elements of V corresponding to null
data values in the grid file.
Example
[Z,R] = arcgridread('MtWashington-ft.grd');
mapshow(Z,R,'DisplayType','surface');
xlabel('x (easting in meters)'); ylabel('y (northing in meters)')
colormap(demcmap(Z))
% View the terrain in 3-D
axis normal; view(3); axis equal; grid on
zlabel('elevation in feet')

See Also
makerefmat, mapshow, sdtsdemread
 | antipode | | areaint |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit