필터 지우기
필터 지우기

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

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by