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 Center および File ExchangeRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by