Fit in matlab equations

1 次查看(过去 30 天)
Ede gerlderlands
Ede gerlderlands 2013-7-17
How can I fir cube equation in matlab

回答(1 个)

Daniel Pereira
Daniel Pereira 2013-7-17
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 个评论
Ede gerlderlands
Ede gerlderlands 2013-7-17
编辑:Ede gerlderlands 2013-7-17
I modified my question as per your suggestion. There are issues I mentioned in the questions. Thank you

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by