Upslope area functions

Functions for computing and visualizing upslope area, influence map, dependence map

You are now following this Submission

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, http://blogs.mathworks.com/steve.

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 (2026). Upslope area functions (https://se.mathworks.com/matlabcentral/fileexchange/15818-upslope-area-functions), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.1

Updated license

1.3.0.0

Use assertElementsAlmostEqual in unit tests.

1.2.0.0

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

1.1.0.0

Version 1.4.1
=============
10-Mar-2009

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

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

* Added unit test directory.

1.0.0.0

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