Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Fitting surface in Matlab

Status
Not open for further replies.

yoyoli

Newbie level 1
Joined
Jan 8, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
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.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top