Read gridded data set in Arc ASCII Grid Format
[Z,R] = arcgridread(filename)
[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.
[Z,R] = arcgridread('MtWashington-ft.grd'); mapshow(Z,R,'DisplayType','surface'); xlabel('x (easting in meters)'); ylabel('y (northing in meters)') demcmap(Z) % View the terrain in 3-D axis normal; view(3); axis equal; grid on zlabel('elevation in feet')