basin_identify.m
This code identifies the polygon (e.g. geographic basin) for each point in an input set of points from among an input set of polygons (e.g. geographic basins). Polygons cannot be overlapping. Designed for geographic data, though can work for any coordinate system. Example is included that makes a plot for geographic data.
This simplifies a common issue when working with geospatial data: the world or a region is broken up into sub-regions, and you want to then bin some set of datapoints into their respective sub-regions.
引用
Dan Chavas (2025). basin_identify.m (https://www.mathworks.com/matlabcentral/fileexchange/48360-basin_identify-m), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!