How to print Rsdnrm after fitting?

1 回表示 (過去 30 日間)
Daniel Zhou
Daniel Zhou 2020 年 11 月 19 日
コメント済み: Star Strider 2021 年 1 月 21 日
I used the following code to fit my experimental data.
[theta,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat]=lsqcurvefit(@kinetics,theta0,t,c);
But I wonder how good the fit is. I'm trying to print this Rsdnrm value. Could anyone help me to display this value?

回答 (1 件)

Star Strider
Star Strider 2020 年 11 月 19 日
The ‘Rsdnrm’ output is a scalar double value, and exists in the workspace after lsqcurvefit completes its estimation. Just use fprintf or sprintf to print it.
  2 件のコメント
Yasin Islam
Yasin Islam 2021 年 1 月 21 日
I'm realy sorry for the simple question but where can i find more information on this code line?
Especially theta,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat (I tried to search for it but couldn't get any information)
What is Rsdnrm? Is it the residual sum of squares meaining sum of (data-fit)²
What is Rsd? Is it the standard deviation of my data matrix and the fit, so the deviation between just two values?
What is ExFlg? ExFlg is 0 what does it mean?
What is OptmInfo?
What is Lmda?
What is Jmat?
Star Strider
Star Strider 2021 年 1 月 21 日

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

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by