Displaying fitting parameters on the graph?

I have fitted my data and saved as,
fun = @(p,xdata) p(1).*(1-exp(-xdata./p(2)))+y_o;
[pb1,resnorm,residual,exitflag,output,lambda,jacobian] = lsqcurvefit(fun,[100 100],x,y);
I want to display 'pb1' values (it's a 1x2 matrix) on the graph? How do I do that?

回答 (1 件)

KSSV
KSSV 2018 年 7 月 18 日

0 投票

If you want to put as a title have a look on title. If you want at any location have a look on text

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2018 年 7 月 18 日

回答済み:

2018 年 7 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by