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 个评论

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.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Fit Postprocessing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by