2d interpolation and finding equation to fit on data
4 ビュー (過去 30 日間)
古いコメントを表示
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???
0 件のコメント
回答 (1 件)
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
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!