land_or_ocean.m
File takes as input vector of points (lat/lon) and coastal resolution and returns vector of indicators for whether these points are over land or ocean. Makes geographic plot too, if desired.
Primary code was given in a response to a question by Brett Shoelson in Feb 2011: http://www.mathworks.com/matlabcentral/answers/1065-determining-whether-a-point-on-earth-given-latitude-and-longitude-is-on-land-or-ocean
As far as I can tell, this code has not been put into a function file for public use.
Cite As
Dan Chavas (2024). land_or_ocean.m (https://www.mathworks.com/matlabcentral/fileexchange/45268-land_or_ocean-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
- Sciences > Geoscience > Oceanography and Hydrology >
- Engineering > Civil and Environmental Engineering > Coastal Engineering >
Tags
Acknowledgements
Inspired: borders
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |