Topographic Horizons

Computes the angles to the horizons from an elevation grid, measured in degrees upward from the horizontal, with options for parallelism.

Download
Download

You are now following this Submission

Cite As

Jeff Dozier (2026). Topographic Horizons (https://www.mathworks.com/matlabcentral/fileexchange/94800-topographic-horizons), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Sun Position

General Information

MATLAB Release Compatibility

  • Compatible with R2019a and later releases

Platform Compatibility

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

updated to correspond with documentation and DOI of the published paper

Download
4.4.1

Fixed a bug to make sure that the kernel size in smooth3 is odd.

Download
4.4.0

Corrected some comments. Streamlined the writeHorizon function.

Download
4.3.0

Improved the demos. Added the citation to the journal paper that has now been accepted.

Download
4.2.0

updated the geotiff option in the Storage function writeHorizon

Download
4.1.1

fixed a typo in the Description

Download
4.1.0

Several performance improvements, added NetCDF option to the storage possibilities.

Download
4.0.0

Addressed a problem in viewFactor when slope is steep enough to hide some horizons.
Also fixed some comments/documentation.

Download
3.0.0

Simplified the demo to make the package a lot smaller. Identified the MATLAB toolboxes needed.

Download
2.0.0

Download