non linear curve fitting
Afficher commentaires plus anciens
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 commentaire
Mihir Daptardar
le 21 Jan 2014
Modifié(e) : Mihir Daptardar
le 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.
Réponses (0)
Catégories
En savoir plus sur Fit Postprocessing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!