フィルターのクリア

Issue with interp2 function

3 ビュー (過去 30 日間)
Kian
Kian 2015 年 4 月 22 日
編集済み: Kian 2015 年 4 月 22 日
I am trying to do a bilinear interpolation using interp2. I got X (matrix of latitudes in decimal degrees of my reference points), Y (that of longitudes), and Z (matrix of reference field). Also have XI and YI as vectors of latitudes and longitudes of the points to which I am interpolating to. I just don't know how to get XI and YI to work as they are in vector format, and I think this is what is causing me the problem.
Any thoughts would be greatly appreciated.
Thank you,
Kian

採用された回答

Image Analyst
Image Analyst 2015 年 4 月 22 日
You'll have to use scatteredInterpolant(). Sorry, I don't have any demos for that so you'll have to do it on your own with help from the documentation.
  1 件のコメント
Kian
Kian 2015 年 4 月 22 日
編集済み: Kian 2015 年 4 月 22 日
That worked. Thanks a lot.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by