cropregion

版本 1.0.0 (1.6 KB) 作者: ANKUR KUMAR
cropregion crops the data in the nc file as per the bounding % box provided as the fourth argument
129.0 次下载
更新时间 2019/5/9

查看许可证

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])

引用格式

ANKUR KUMAR (2024). cropregion (https://www.mathworks.com/matlabcentral/fileexchange/71499-cropregion), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0