|Code Listing by Giuliano Langella|
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');
view(3), axis equal, axis off, camlight, lighting phong
axis on; xlabel('Easting'); ylabel('Northing'); zlabel('Values')
The script adds a header at the top of the outputted file.
It needs two inputs: the grid to be exported and the the header vector with the spatial information of the grid.
It can save files as .txt or .asc.
This function imports Arc-Info ASCII Raster (*.asc, *.txt) files. You are allowed to import single or multiple files by multi-selection (CRTL + Mouse_Left_Click). In the latter case by default a structure array is created in order to store the...
This function computes at (Xi,Yi) unknown locations the IDW (w<0) or the SMA (w=0) predictions using r1 neighbourhood type ('n':number of points; 'r':radius) and r2 neighbourhood size from Vc measured values at (Xc,Yc) locations.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.