装matlab的矩阵转存成asc文件,基于arcgridwrite封装,使用更方便,支持arcgis支接读取
%存储为asc文件
% Example:
% Z = peaks(100);
% Z(Z < 0.5)=-3721;
% xllcorner = 10; yllcorner = -4; cellsize = 0.5; NODATA_value = -3721;
% ascWrite('testWriteasc.asc', xllcorner, yllcorner, cellsize, NODATA_value, Z);
1