Displaying fitting parameters on the graph?
1 回表示 (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
KSSV
2018 年 7 月 18 日
If you want to put as a title have a look on title. If you want at any location have a look on text
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!