ascii2xyz

버전 1.1.0.0 (2.63 KB) 작성자: Andrew Stevens
convert ARC ASCII text file to xyz
다운로드 수: 2.9K
업데이트 날짜: 2008/10/27

라이선스 보기

ASCII2XYZ reads in a raster text file in ARC ASCII format and converts values to a m x 3 matrix of x, y, a z values.

This code is mostly vectorized and performs well with reasonably large files (see example below).

%read in a 25 MB file
a=dir('foo.txt')

a =

name: 'foo.txt'
date: '17-Oct-2008 08:53:34'
bytes: 25437683
isdir: 0
datenum: 7.3370e+005

tic
xyz=ascii2xyz('foo.txt');
toc
Elapsed time is 8.110956 seconds.

인용 양식

Andrew Stevens (2024). ascii2xyz (https://www.mathworks.com/matlabcentral/fileexchange/21785-ascii2xyz), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Low-Level File I/O에 대해 자세히 알아보기
도움

도움 받은 파일: Raster to XYZ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

fixed error in how y-values are allocated

1.0.0.0

Added support for ASCII files that specify either the corner of the grid or the center of the lower left pixel in the header.