maskregion

バージョン 1.0.0 (1.64 KB) 作成者: ANKUR KUMAR
maskregion mask out the data in the nc file as per the shape file provided as the fourth argument
ダウンロード: 711
更新 2019/5/9

ライセンスの表示

Function:
maskregion mask out the data in the nc file as per the shape
file provided as the fourth argument
Syntax:
[data_masked]=maskregion(lon,lat,data,shapefile_var);

Inputs:
It takes first three arguments as the latitude, longitude and
data respectively. shapefile argument should be the shapefile,
which contains X and Y coordinates of the region(s) you wish
to crop.

Example:

W=shaperead('us_states.shp');
[data_masked]=maskregion(lon,lat,data,shapefile_var);

引用

ANKUR KUMAR (2025). maskregion (https://www.mathworks.com/matlabcentral/fileexchange/71500-maskregion), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2019a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersData Import and Export についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0