My problem is to fit 25 data in a surface and get the function of it. I import the excel file in matlab. It has three column. The first one is x-axis and the second one is y-axis. The third column is the desired value at each point. Here is my code: A = xlsread('include complex data.xls')
x=A(1:25,1:2);
yreal=A(1:25,3);
funre=fit(x,yreal,'cubicinterp')
After I ran it, the result was:
Piecewise cubic interpolant:
funre(x,y) = piecewise cubic surface computed from p
Coefficients:
p = coefficient structure
I have no idea what the result means. Also, does anybody have any better idea to solve my problem? I would really appreciate if anyone can help. Thanks.