Be the first to rate this file! 12 Downloads (last 30 days) File Size: 1.27 KB File ID: #26529

ASCII-RASTER header To R spatial reference matrix

by

 

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

| Watch this File

File Information
Description

 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');
figure;
mapshow(Z, header2R(h),'DisplayType','surface');
view(3), axis equal, axis off, camlight, lighting phong
axis on; xlabel('Easting'); ylabel('Northing'); zlabel('Values')

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us