You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function finds depressions on a 2D surface. It was intended to model the formation of liquid pools on a simulated geological surface (lakes pooling in depressions).
Usage:
[dMask, dDepths] = findDepressions(heights)
Returns both the logical mask of where depressions exist and the depths of those depressions.
Cite As
Luke Winslow (2026). findDepressions (https://ch.mathworks.com/matlabcentral/fileexchange/35452-finddepressions), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: extrema.m, extrema2.m
General Information
- Version 1.0.0.0 (6.73 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
