sfit decimals output only 4 sig figs
1 回表示 (過去 30 日間)
古いコメントを表示
I have a code that fits coefficients of a polynomial to data. I can access these polynomial coefifcients that are fit through a variable that appears to be a 1x1 sfit. How do I display more decimals? Currently it just shows 4 sig figs. I tried format long but that did not do anything.
Any help would be appreciated!
0 件のコメント
採用された回答
Walter Roberson
2019 年 8 月 20 日
coeffs = coefvalues(Your_sfit_object);
num2str(coeffs, '%.15g')
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!