File Exchange

image thumbnail

ASCII-RASTER header To R spatial reference matrix

version 1.0 (1.27 KB) by

Conversion of a header variable into the spatial reference matrix used in Mapping Toolbox.



View License

The header MatLab variable is generated when importing an ASCII-RASTER with the ImportAsciiRaster.m function.

Here below an example:

[Z h] = ImportAsciiRaster(NaN, 'h');
mapshow(Z, header2R(h),'DisplayType','surface');
view(3), axis equal, axis off, camlight, lighting phong
axis on; xlabel('Easting'); ylabel('Northing'); zlabel('Values')

Comments and Ratings (0)

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video