non linear curve fitting

x={1 2 3];
y=[4 5 6];
z=[1 5 9];
w=10./z;
p=x.^4-y.^2;
q=2.*x.*y;
plot(z,p,z,q);
hold on;
now how can i fit the bellow eqn with above plotted curve:
e=e1+((e2-e1)/i*s*.z)+(k/(i*e2));
% i = complex representation
please help me, i tried several times with Ezyfit but couldn't solve.

1 Kommentar

Mihir Daptardar
Mihir Daptardar am 21 Jan. 2014
Bearbeitet: Mihir Daptardar am 21 Jan. 2014
Can you elaborate shortly on what is it that you are trying to achieve? Also, it would be helpful to understand your workflow if you could post an working code snippet.
If you are trying to fit data to curve, you may need the Curve Fitting Toolbox. This toolbox provides functions for fitting curves and surfaces to data. For your reference, I have attached a link to the product documentation.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Gefragt:

am 11 Jan. 2014

Bearbeitet:

am 21 Jan. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by