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

ASCII-RASTER header To R spatial reference matrix

by Giuliano Langella

 

29 Jan 2010

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
conversion header ascii raster r reference spatial matrix Giuliano Langella 29 Jan 2010 10:33:25

Contact us at files@mathworks.com