cropregion
Function:
cropregion crops the data in the nc file as per the bounding
box provided as the fourth argument
Syntax:
[lon_cropped, lat_cropped, data_cropped]=cropregion(lon,lat,data,[lon1 lon2 lat1 lat2]);
Inputs:
It takes the first three arguments as the latitude, longitude, and
data respectively. The fourth argument should be the bounding box of the region(s) you wish to crop.
Example:
W=shaperead('us_states.shp');
[xx,yy,zz]=cropregion(lon,lat,data,[-79.5683 -74.7735 33.5789 36.7302])
Citar como
ANKUR KUMAR (2024). cropregion (https://www.mathworks.com/matlabcentral/fileexchange/71499-cropregion), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Mapping Toolbox > Map Display > Interact with Maps >
- Radar > Mapping Toolbox > Map Display > Interact with Maps >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |