フィルターのクリア

How to plot a line generated by Curve fitting tool?

1 回表示 (過去 30 日間)
Neel Gupta
Neel Gupta 2020 年 4 月 14 日
コメント済み: dpb 2020 年 4 月 14 日
I plotted all my data on a Matlab graph using the "Plot" command.
Now I want to display the curve generated by Curve fitting tool and superimpose it on my plotted graph.
After saving the fit, there was a new variable (1x1 Cfit) named fittedmodel. How do I use that to plot a line so as to see how the line divides my data?
I know the app makes an Image of the data with line, but that data characters are not colores. So is there any way to extract the equation out of the app and plot it to my graph?
TIA
  1 件のコメント
dpb
dpb 2020 年 4 月 14 日
You can save the cfit object, statistics and fit output directly..
Or, having saved the object, just use it as argument to plot--it's overloaded to handle the object...
Agree the doc for the tool are kinda' hard to follow with all links

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

回答 (0 件)

カテゴリ

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