フィルターのクリア

2d interpolation and finding equation to fit on data

1 回表示 (過去 30 日間)
milad babaei
milad babaei 2011 年 7 月 23 日
Hi,
i am trying to find an equation to fit on my data.i have used 2d interpolation with linear method(inter2 command).now i would like to know is there any way to get an equation which is fitted by interpoalet data?and also evalute interpolant.this is my meshed data :
clear
clc;
BHv= [1:1:8];
phiv= [0:10:30];
h = [ 1 1.02 1.11 1.21 1.3 1.4 1.59 1.78; ...
1 1.11 1.35 1.62 1.95 2.33 3.34 4.77; ...
1.01 1.39 2.12 3.29 5.17 8.29 22 61; ...
1.13 2.5 6.36 17.5 50 150 1400 14800];
mesh(BHv,phiv,h)
xlabel('x-axis,(B/H)')
ylabel('y-axis,phi')
zlabel('depth factor,hc')
title('depth factor(hc) measurements,mandel & salencon 1969')
or if i want to use 2D spline interpolation,what should i do to get that equation which fit on data???

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 7 月 23 日
The answer doesn't change just because you ask the question again. See http://www.mathworks.com/matlabcentral/answers/10582-deriving-surface-equation-form-data-on-a-table
  1 件のコメント
milad babaei
milad babaei 2011 年 7 月 23 日
i didnt get my answer yet,,,,

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

カテゴリ

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