2d interpolation and finding equation to fit on data

3 visualizaciones (últimos 30 días)
milad babaei
milad babaei el 23 de Jul. de 2011
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???

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Jul. de 2011
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

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by