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 comentario

Mihir Daptardar
Mihir Daptardar el 21 de En. de 2014
Editada: Mihir Daptardar el 21 de En. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Productos

Preguntada:

el 11 de En. de 2014

Editada:

el 21 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by