image thumbnail

Detrend DEM by Valley Slope

version (2.21 KB) by Joseph Wheaton
Detrends a DEM by Valley Slope


Updated 25 Feb 2008

translation missing:

This is a very simple program that reads in an a DEM (in Arc Ascii format), and detrends the DEM to a new file based on a hard-coded valley slope. It is assumed that the valley is sloping downward in the north direction. Feel free to modify as you see fit.

Cite As

Joseph Wheaton (2022). Detrend DEM by Valley Slope (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!