finding patches of ones in a 2D grid of zeroes

These functions could be helpful in atmospheric or oceanic sciences for example to compute the wet patches of a rainfall field.
0 Downloads
Updated 27 Jun 2023

View License

These functions could be helpful in atmospheric or oceanic sciences for example to compute the wet patches of a rainfall field or defining low pressure centers from a MSLP map. tracking_space_unique.m finds a unique patch from a user-defined location and tracking_space_new.m finds all patchs from a 2d grid without any pre-defined locations. find9.m and ponder.m are needed respectively to find neighbour in 2D grid and weight latitudes to compute the centers of each patch. Of course, it is also possible to use these functions on any 2D grid without the reference of lat/lon.

Cite As

Vincent Moron (2024). finding patches of ones in a 2D grid of zeroes (https://www.mathworks.com/matlabcentral/fileexchange/131643-finding-patches-of-ones-in-a-2d-grid-of-zeroes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0