Upslope area functions

Functions for computing and visualizing upslope area, influence map, dependence map
Updated 1 Sep 2016

View License

A collection of functions for calculating the upslope area and related measurements for a digital elevation model (DEM).
Based on the method of Tarboton.

See also the upslope area postings on my image processing blog, March-August 2007,

Requires Image Processing Toolbox.

Functions include dem_flow, dependence_map, facet_flow, fill_sinks, flow_matrix, influence_map, pixel_flow, postprocess_plateaus, upslope_area, vis_dem_flow, and vis_map.

Includes a sample DEM data set.

Cite As

Steve Eddins (2024). Upslope area functions (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
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!
Version Published Release Notes

Updated license

Use assertElementsAlmostEqual in unit tests.

Version 1.4.2 - Added sample DEM data source information to Contents.m. No functional changes in this version.

Version 1.4.1

* Fixed M-file help typo in dependence_map.m.

* Allowed input matrix E to contain NaNs in postprocess_plateaus.m.

* Added unit test directory.

Added flow direction keywords as suggested by reviewer Felix. Thanks!