How can I interpolate an ocean's variable without interpolate the continents?

3 ビュー (過去 30 日間)
gerry espinosa vallejo
gerry espinosa vallejo 2017 年 6 月 8 日
回答済み: Chad Greene 2019 年 3 月 9 日
I have a matrix with ocean's variable and another matrix with the grid for continents, but all the functions for interpolation doesn't have an option for exclude cells. Do you have an idea to accomplish this?
P.S. it doesn't worth make an interpolation and then cut the continents

回答 (1 件)

Chad Greene
Chad Greene 2019 年 3 月 9 日
You can use the island function in the Climate Data Toolbox for Matlab to determine which grid cells are land and which ones are ocean. With that mask, you can then fill in the land or ocean values however you'd like.

カテゴリ

Help Center および File ExchangeOceanography and Hydrology についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by