Fit in matlab equations

2 vues (au cours des 30 derniers jours)
Ede gerlderlands
Ede gerlderlands le 17 Juil 2013
How can I fir cube equation in matlab

Réponses (1)

Daniel Pereira
Daniel Pereira le 17 Juil 2013
Did you try
z = x^-3;
p = polyfit(z,y,1)
then
yy = p(1) * z + p(2);
which has the form
yy = a * x.^-3 + b;
  1 commentaire
Ede gerlderlands
Ede gerlderlands le 17 Juil 2013
Modifié(e) : Ede gerlderlands le 17 Juil 2013
I modified my question as per your suggestion. There are issues I mentioned in the questions. Thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by