Double interpolation using lookup tables in matlab

4 ビュー (過去 30 日間)
WILLBES BANDA
WILLBES BANDA 2020 年 6 月 18 日
コメント済み: WILLBES BANDA 2020 年 6 月 19 日
hi, i want to create a code that interpolates 2 dimensional data using the method shown in the attached pictures. To clarify, the example in the attachements was calculating the value when angle of attack is 35 degrees and aileron deflection is 2.5 degrees, and we have to interpolate to get the value. I am having a problem converting the formulas into a code that interpolates. Please help.

採用された回答

David Hill
David Hill 2020 年 6 月 18 日
[x,y]=meshgrid(25:5:50,-10:5:15);
z=[59 76 91 107 122 137;78 98 116 133 149 164;101 127 148 167 184 197;127 155 177 197 214 227;180 212 235 253 266 273;258 289 314 333 346 352];
k=interp2(x,y,z,35,2.5);
  3 件のコメント
David Hill
David Hill 2020 年 6 月 18 日
z is from your screen shot, just multiple by 1e-5.
WILLBES BANDA
WILLBES BANDA 2020 年 6 月 19 日
Thank you, it works

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

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