2D array interpolation without loops

Hello
I have a set of column arrays (n x 1) each one corresponding to a point in a 2D X-Y grid. I would like to interpolate the whole column at once for a new point Xi-Yi, without using a for loop on each element of the array.
I know that in 1D with interp1 it is possible to interpolate a whole vector or matrix at once. Is there a similar function in Matlab for 2D interpolation? I tried interp2 but it's not working, it works only element by element inside a for loop.
Thank you

1 件のコメント

José-Luis
José-Luis 2014 年 9 月 12 日
I am not sure I follow. What do you want to interpolate?

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

回答 (0 件)

カテゴリ

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

質問済み:

2014 年 9 月 12 日

コメント済み:

2014 年 9 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by