Rank: 3960 based on 6 downloads (last 30 days) and 2 files submitted
photo

Joseph Wheaton

E-mail

Personal Profile:
Professional Interests:
geomorphology, hydrology, ecohydraulics

 

Watch this Author's files

 

Files Posted by Joseph View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Feb 2008 Raster to XYZ Converts an Arc ASCII Raster to a vector point file. Author: Joseph Wheaton lidar, dem, vector, ascii raster 6 1
25 Feb 2008 Detrend DEM by Valley Slope Detrends a DEM by Valley Slope Author: Joseph Wheaton dem, digital elevation mod..., detrending, fluvial 0 0
Comments and Ratings on Joseph's Files
Updated File Comment by Comments Rating
25 Feb 2008 Raster to XYZ Converts an Arc ASCII Raster to a vector point file. Author: Joseph Wheaton Schwanghart, Wolfgang

Actually a good idea, but somewhat poorly implemented. First, the file is a script and not a function what may cause that variables in your workspace are overwritten when executing. As the author noticed, the function is slow, yet it CAN be vectorized (see e.g. dlmwrite with the option append). But even if you don't vectorize speed can be significantly improved when preallocating an array where you write the data to (see the Mlint report).

I tried the script on an ascii file I have. The script told me that it worked. Yet, I had a look at the csv and it was empty but the header. But that was my fault, since I forgot that my ascii grid had no header. Hence, this is my stupidity. However, I would have been confronted with my stupidity earlier, if there had been error checking.

In summary: There are many improvements to make. The script is heavily commented which is very good. Hence, I avoid a rating here and hope to see an update of the file soon.

Top Tags Applied by Joseph
dem, ascii raster, detrending, digital elevation model, fluvial
Files Tagged by Joseph View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Feb 2008 Raster to XYZ Converts an Arc ASCII Raster to a vector point file. Author: Joseph Wheaton lidar, dem, vector, ascii raster 6 1
25 Feb 2008 Detrend DEM by Valley Slope Detrends a DEM by Valley Slope Author: Joseph Wheaton dem, digital elevation mod..., detrending, fluvial 0 0

Contact us at files@mathworks.com