フィルターのクリア

Fit data sets for 3 different temperature

3 ビュー (過去 30 日間)
Dat Pham
Dat Pham 2015 年 7 月 20 日
回答済み: Nick Hobbs 2015 年 7 月 22 日
Hello everyone,
I have X and Y values (array) at 3 different known temperatures. I want to fit them into this function:
ln (Y)=ln(X)+1/T*(a0+a1*N+a2*N^2+a3*N^3+a4*N^4+a5*N^5+...)+b0+b1*N+b2*N^2+b3*N^3+b4*N^4+b5*N^5+...
T is the three different known temperatures. And a0 a1 a2... b0 b1 b2 are the constant parameters that I want to find
Could anyone help me?
I tried but failed :(
  1 件のコメント
Dat Pham
Dat Pham 2015 年 7 月 20 日
Here is the data set. I could not manage to have a good fit.

サインインしてコメントする。

回答 (1 件)

Nick Hobbs
Nick Hobbs 2015 年 7 月 22 日
If you only need to fit an equation to a dataset, you may be interested in the function FIT from the Curve Fitting Toolbox. The example in the documentation for a custom model may be of particular interest to you. You could use your equation in the same way as the custom model and try to have FIT find the values for your function.

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by