2D Spatial interpolation between two matrices

Hi all,
I have a matrix V of 252x250 values with its corresponding spatial 2D coordinates (two matrices X1 and Y1 with 252x250 values each). Basically, I can see V spatially using pcolor(X1, Y1, V). I created a new coordinate system (two matrices X2 and Y2 with 252x250 values each) which is slightly different from X1 and Y1 (a little bit smaller). How can I interpolate V to this new coordinate system (X2, Y2)?
Thank you.

1 件のコメント

Lucy Chen
Lucy Chen 2020 年 12 月 22 日
Anyone kindly has an answer for this? Interp2 does not work. Thanks a lot

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2017 年 12 月 27 日

0 投票

See if the interp2 (link) function will do what you want.

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

質問済み:

2017 年 12 月 27 日

コメント済み:

2020 年 12 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by