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.
Joseph Wheaton (2022). Detrend DEM by Valley Slope (https://www.mathworks.com/matlabcentral/fileexchange/18893-detrend-dem-by-valley-slope), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!