four points grid interpolation function

9 ビュー (過去 30 日間)
sermet
sermet 2015 年 8 月 24 日
回答済み: Mike Garrity 2015 年 8 月 24 日
lat1=87.5;
lat2=85;
lon1=-180;
lon2=-175;
coordinates of point_1= [lat2,lon2];
coordinates of point_2=[lat1,lon2];
coordinates of point_3=[lat1,lon1];
coordinates of point_4=[lat2,lon1];
value_point_1=268;
value_point_2=260;
value_point_3=259;
value_point_4=266;
evaluated_point_coordinates=[86,-177];
%I need to interpolate 4 grid points value w.r.t. the evaluated_point_coordinates. Which function I need to use for this grid interpolation?

採用された回答

Mike Garrity
Mike Garrity 2015 年 8 月 24 日
Probably interp2 with linear, but I discussed some of the details in this blog post about the MATLAB Graphics surface primitive. Be sure to check out the comments section for a nice discussion of some of the options in the Image Processing Toobox.

その他の回答 (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